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: backend/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,15 @@ This backend application template consists of:
49
49
50
50
---
51
51
52
+
## SSHhhhttt 🤫 It's a Secret!
53
+
54
+
All secret variables are configured in the `.env`, but in this case since it is listed in our `.gitignore` you should create one and save it in the root directory.
55
+
56
+
The secret variables are accessed by 2 different files:
57
+
58
+
1. `backend7src/config/settings/base.py` $\rightarrow$ The `BackendBaseSettings` class contains all the secret variables. This allows us to set the values dynamically through out the backend application ("dynamic" because we only need to change the value in `.env` file without breaking any code).
59
+
2. `docker-compose.yaml` $\rightarrow$ When we initialize the `backend_app` container, we register all the secret variables as well for our containerized backend application.
60
+
52
61
## Database
53
62
54
63
**INFO**: No postgres server, no connection!
@@ -132,7 +141,7 @@ Check the `pyproject.toml` as the main configuration file for the following pack
132
141
133
142
**INFO**: For running the test, make sure you are in the root directory and NOT in the `backend/` directory!
134
143
135
-
**INFO**: The testing report is automatically generated and saved in``
144
+
**INFO**: The testing report is automatically generated and saved in`backend/coverage/**`
0 commit comments