full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
celeryworker_pre_start.py hasn't code related to celery, and it is the same as backend_pre_start.py
This project is tightly coupled with docker, and this make it hard to develop locally without docker.
It's better to use 401 for lack of permission and 409 if the user already exists https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409
I run these two scripts below, it looks like the build.sh copies the app code. When I run the deploy command and then go inside (exec /bin/bash) the container, I...
I meet an issue when `docker-compose up -d` ``` ImportError: cannot import name 'Celery' from 'celery' (/usr/local/lib/python3.7/site-packages/celery/__init__.py) ``` I fix it in this way. (at data-backend/app/pyproject.toml) ``` ... [tool.poetry.dependencies] python...
When updating a user's details without updating the password, the backend fails. The issue is very simple: https://github.com/tiangolo/full-stack-fastapi-postgresql/blob/490c554e23343eec0736b06e59b2108fdd057fdc/%7B%7Bcookiecutter.project_slug%7D%7D/backend/app/app/crud/crud_user.py#L34 No password is provided during update, so correct: `if update_data.get("password"):`
←[31mERROR←[0m: Exception in ASGI application Traceback (most recent call last): File "c:\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 396, in run_asgi result = await app(self.scope, self.receive, self.send) File "c:\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__ return await...
verify_password_reset_token method is returning decoded_token["email"] where there is no email in the payload.
Hi normally to add a schema in sqlalchemy i do `Base = declarative_base() Base.metadata.schema = 'schema_name` How can i add this to this stack please ?
I usually use the Python shell when I'm developing, but I cannot simple open it using the env vars because I get this error: pydantic.env_settings.SettingsError: error parsing JSON for "BACKEND_CORS_ORIGINS"...