What it is
Firebase provides the core platform services used across the Revive applications:- Firestore for operational data
- Cloud Storage for file uploads
- Firebase Auth for user identity
- FCM for push notifications
Why we use it
Firebase is the primary system of record for the Revive platform and enables real-time client experiences.Data flow
revive-apiuses the Firebase Admin SDK for privileged access.revive-admin,revive-dashboard, andrevive-mobileuse Firebase client SDKs.
Owner repo(s)
revive-apirevive-adminrevive-dashboardrevive-mobile
Relevant modules/endpoints
revive-api/src/lib/firebase/index.jsrevive-api/src/utils/push-notifications.jsrevive-api/src/media/media.service.jsrevive-admin/utils/firebase.tsrevive-dashboard/src/utils/firebase.ts
Operational notes
- Treat Firestore schemas as shared contracts across all clients.
- Keep migrations and backfills in
revive-apiwhen possible so all clients converge on the same data model.

