Closed rparker2003 closed 5 months ago
Check Firebase CLI Installation:
firebase --version
npm install -g firebase-tools
Log in to Firebase:
firebase login
Initialize Firebase Project:
firebase init
Install Firebase Emulator Suite:
firebase setup:emulators:firestore
Add Environment Variables:
.env
file, and add:
FIRESTORE_EMULATOR_HOST="127.0.0.1:8080"
GCLOUD_PROJECT="munch-37564"
Start Firebase Emulator:
firebase emulators:start
Start Flask Server:
python server.py
Test the Routes:
http://127.0.0.1:5000/api/
and verify the code is interacting with Firebase Emulator instead of the Cloud Firestore Database.
Describe the bug
To Reproduce Steps to reproduce the behavior:
Screenshots
![](https://imgur.com/COvzylL.png)