Skip to content

Commit 17dc1e6

Browse files
committed
my new changes to run it in local
1 parent 2eb8f5b commit 17dc1e6

File tree

13 files changed

+1191
-1122
lines changed

13 files changed

+1191
-1122
lines changed

.copier/.copier-answers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"_commit": "0.8.0", "_src_path": "https://github.com/fastapi/full-stack-fastapi-template", "project_name": "FastAPI Project", "stack_name": "fastapi-project", "secret_key": "PkfmWteb3cwbeuycTRTC68CPhJQdA_5rh_JVx3GhvGc", "first_superuser": "[email protected]", "first_superuser_password": "admin", "smtp_host": "", "smtp_user": "", "smtp_password": "", "emails_from_email": "[email protected]", "postgres_password": "rfR80X-iie4omWPhzGrgKM6Jzu-xCc5hgYf0Rtwmln8", "sentry_dsn": ""}

.copier/.copier-answers.yml.jinja

Lines changed: 0 additions & 1 deletion
This file was deleted.

.env

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ FRONTEND_HOST=http://localhost:5173
1313
# Environment: local, staging, production
1414
ENVIRONMENT=local
1515

16-
PROJECT_NAME="Full Stack FastAPI Project"
17-
STACK_NAME=full-stack-fastapi-project
16+
CI=
17+
18+
PROJECT_NAME='FastAPI Project'
19+
STACK_NAME=fastapi-project
1820

1921
# Backend
2022
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
21-
SECRET_KEY=changethis
23+
SECRET_KEY=PkfmWteb3cwbeuycTRTC68CPhJQdA_5rh_JVx3GhvGc
2224
FIRST_SUPERUSER=[email protected]
23-
FIRST_SUPERUSER_PASSWORD=changethis
25+
FIRST_SUPERUSER_PASSWORD=adminadmin
2426

2527
# Emails
2628
SMTP_HOST=
@@ -36,10 +38,10 @@ POSTGRES_SERVER=localhost
3638
POSTGRES_PORT=5432
3739
POSTGRES_DB=app
3840
POSTGRES_USER=postgres
39-
POSTGRES_PASSWORD=changethis
41+
POSTGRES_PASSWORD=rfR80X-iie4omWPhzGrgKM6Jzu-xCc5hgYf0Rtwmln8
4042

4143
SENTRY_DSN=
4244

4345
# Configure these with your own Docker registry images
4446
DOCKER_IMAGE_BACKEND=backend
45-
DOCKER_IMAGE_FRONTEND=frontend
47+
DOCKER_IMAGE_FRONTEND=frontend

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.vscode
2+
.idea
23
node_modules/
34
/test-results/
45
/playwright-report/

.vscode/launch.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

backend/app/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class ItemUpdate(ItemBase):
7575
# Database model, database table inferred from class name
7676
class Item(ItemBase, table=True):
7777
id: uuid.UUID = Field(default_factory=uuid.uuid4, primary_key=True)
78+
# id: int = Field(default=None, primary_key=True)
7879
title: str = Field(max_length=255)
7980
owner_id: uuid.UUID = Field(
8081
foreign_key="user.id", nullable=False, ondelete="CASCADE"

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = ""
55
requires-python = ">=3.10,<4.0"
66
dependencies = [
7-
"fastapi[standard]<1.0.0,>=0.114.2",
7+
"fastapi[standard]<1.0.0,>=0.115.12",
88
"python-multipart<1.0.0,>=0.0.7",
99
"email-validator<3.0.0.0,>=2.1.0.post1",
1010
"passlib[bcrypt]<2.0.0,>=1.7.4",

backend/uv.lock

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.override.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
# etc. To enable it, update .env, set:
77
# DOMAIN=localhost.tiangolo.com
88
proxy:
9-
image: traefik:3.0
9+
image: docker.arvancloud.ir/traefik:3.0
1010
volumes:
1111
- /var/run/docker.sock:/var/run/docker.sock
1212
ports:

docker-compose.traefik.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
traefik:
3-
image: traefik:3.0
3+
image: docker.arvancloud.ir/traefik:3.0
44
ports:
55
# Listen on port 80, default for HTTP, necessary to redirect to HTTPS
66
- 80:80

0 commit comments

Comments
 (0)