Open gaaliciA1990 opened 2 months ago
Backend will handle event triggers from Firestore. When a new data point is added to the Firestore DB, we handle triage to:
Frontend will talk directly to Firestore for POST/GET requests.
Firestore will be our source of truth that we pull from
Implemented some code for firestore, need to continue testing
https://firebase.google.com/docs/firestore/quickstart?hl=en&authuser=1 https://console.firebase.google.com/u/1/project/edifikana/settings/serviceaccounts/adminsdk
Here is some documentation on how to trigger functions form Firestore events: https://cloud.google.com/functions/docs/calling/cloud-firestore#functions_cloudevent_firebase_firestore-java
This is also an example of how someone created a Kotlin function: https://github.com/GaryLaurenceau/kotlin-google-cloud-function
This can be a good reference for once we need to deploy the code.
Stale issue message
Need a proof of concept for how to READ and WRITE to the firebase Cloud Firestore
https://firebase.google.com/products/firestore https://firebase.google.com/ https://firebase.google.com/docs/firestore