You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update CRUD utils to use types better.
* Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc.
* Upgrade packages.
* Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
* Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`.
* Update testing utils.
* Update linting rules, relax vulture to reduce false positives.
* Update migrations to include new Items.
* Update project README.md with tips about how to start with backend.
* Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc.
154
+
* Upgrade packages.
155
+
* Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
156
+
* Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`.
157
+
* Update testing utils.
158
+
* Update linting rules, relax vulture to reduce false positives.
159
+
* Update migrations to include new Items.
160
+
* Update project README.md with tips about how to start with backend.
161
+
151
162
* Upgrade Python to 3.7 as Celery is now compatible too. <ahref="https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/10"target="_blank">PR #10</a> by <ahref="https://github.com/ebreton"target="_blank">@ebreton</a>.
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,9 @@ If your Docker is not running in `localhost` (the URLs above wouldn't work) chec
53
53
54
54
### General workflow
55
55
56
-
Add and modify SQLAlchemy models in `./backend/app/app/db_models/`, Pydantic models in `./backend/app/app/models` and API endpoints in `./backend/app/app/api/`.
56
+
Open your editor at `./backend/app/` (instead of the project root: `./`), so that you see an `./app/` directory with your code inside. That way, your editor will be able to find all the imports, etc.
57
+
58
+
Modify or add SQLAlchemy models in `./backend/app/app/db_models/`, Pydantic models in `./backend/app/app/models/`, API endpoints in `./backend/app/app/api/`, CRUD (Create, Read, Update, Delete) utils in `./backend/app/app/crud/`. The easiest might be to copy the ones for Items (models, endpoints, and CRUD utils) and update them to your needs.
57
59
58
60
Add and modify tasks to the Celery worker in `./backend/app/app/worker.py`.
0 commit comments