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
Copy file name to clipboardExpand all lines: README.md
+17-13
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Ultimately the output of this lab will be consumed as the `app` and `worker` for
29
29
30
30
## Using this template
31
31
32
-
All `docker-compose` files depend on the following environment variables, which can be set by either exporting them before you run the commands or by declaring them in your `.env` file.
32
+
All `dockercompose` files depend on the following environment variables, which can be set by either exporting them before you run the commands or by declaring them in your `.env` file.
33
33
34
34
-`PROJ_NAME` is a prefix that is used to label resources, object stores
35
35
-`PROJ_FQDN` is the domain name of the application, this can be set
@@ -120,12 +120,12 @@ Directory structure for our application:
120
120
| └─ models/ -- SQLAlchemy models
121
121
| └─ dto/ -- Data Transfer Objects
122
122
| └─ alembic/ -- Alembic migrations
123
-
| └─ __init__.py
124
-
| └─ api.py
125
-
| └─ broker.py
126
-
| └─ config
127
-
| └─ db.py
128
-
| └─ utils.py
123
+
| └─ __init__.py -- FastAPI app
124
+
| └─ api.py -- ASGI app that uvicorn serves
125
+
| └─ broker.py -- TaskIQ broker configuration
126
+
| └─ settings -- pyndatic based settings
127
+
| └─ db.py -- SQLALchemy session management
128
+
| └─ utils/ -- App wide utility functions
129
129
├─ pyproject.toml
130
130
├─ poetry.lock
131
131
@@ -184,19 +184,23 @@ FastAPI provides a really nice, clean way to build out endpoints. We recommend t
184
184
- Provide a summary of the operation (no matter how trivial) which will make for better documentation
0 commit comments