If you are doing it from scratch, ensure your postgres and your redis are running, then while in the root folder, run to start the application with uvicorn server: poetry run uvicorn src.app.main:app --reload And for the worker: poetry run arq src.app.core.worker.settings.WorkerSettings...
1. Project Structure. Consistent & predictable There are many ways to structure the project, but the best structure is a structure that is consistent, straightforward, and has no surprises. If looking at the project structure doesn't give you an idea of what the project is about, then the ...
🙈 Add .prettierignore and include client folder. PR #648 by @alejsdev. 🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project. PR #655 by @estebanx64. 🔒️ Ensure the default values of "changethis" are not deployed. PR #698 by @tiangolo. ◀...
🙈 Add .prettierignore and include client folder. PR #648 by @alejsdev. 🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project. PR #655 by @estebanx64. 🔒️ Ensure the default values of "changethis" are not deployed. PR #698 by @tiangolo. ◀...
PROJECT_NAME- it will show up in docs view as a name of project. FIRST_SUPER_USER_EMAIL- first account email DEBUG- when it's false, thePOSTGRES_SERVERis set tolocalhostfor development, so change it toDEBUG=trueto usedbpostgres server. ...
The core folder was also rewritten. There is great base for writting tests in tests, but I didn't want to write hundreds of them, I noticed that usually after changes in the structure of the project, auto tests are useless and you have to write them from scratch anyway (delete old ...
🙈 Add .prettierignore and include client folder. PR #648 by @alejsdev. 🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project. PR #655 by @estebanx64. 🔒️ Ensure the default values of "changethis" are not deployed. PR #698 by @tiangolo. ◀...
When connecting to db server introduce the password by default it is postgres if you didn't change it in .env file.ERD Database modelContainers architectureAs this project uses Caddy as a reverse proxy, which uses namespaces routing, you can access the documentation with the following path ...
postgres_password: (default: "changethis") The password for the PostgreSQL database, stored in .env, you can generate one with the method above. sentry_dsn: (default: "") The DSN for Sentry, if you are using it, you can set it later in .env. Backend Development Backend docs: backend...
this command will create a new project with the following structure: ├── app.py ├── main.py ├── requirements.txt ├── .gitignore ├── README.md ├── src │ ├── __init__.py once you have created your app, get into the folder and run the following command: ...