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
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,21 @@ pdm run ruff format .
110
110
## Environment Variables
111
111
Environment variables are currently stored in an .env file within the base repository (not the backend folder). You will need to copy the local environment variables stored in the following notion [page](https://www.notion.so/uwblueprintexecs/Environment-Variables-11910f3fb1dc80e4bc67d35c3d65d073?pvs=4) to get the database working.
112
112
113
+
### Firebase Configuration
114
+
To set up Firebase authentication:
115
+
116
+
1. Place your `serviceAccountKey.json` file in the `backend/` directory
117
+
- This file should be obtained from your Firebase Console
118
+
- Go to Project Settings > Service Accounts > Generate New Private Key
119
+
- The file contains sensitive credentials and is automatically gitignored
120
+
121
+
2. Ensure your `.env` file includes the following Firebase-related variables:
122
+
```
123
+
FIREBASE_WEB_API_KEY=your_web_api_key
124
+
```
125
+
You can find these values in your Firebase Console under Project Settings.
126
+
127
+
Note: Never commit `serviceAccountKey.json` to version control. It's already added to `.gitignore` for security.
113
128
114
129
## Adding a new model
115
130
When adding a new model, make sure to add it to `app/models/__init__.py` so that the migration script can pick it up when autogenerating the new migration.
0 commit comments