-
Notifications
You must be signed in to change notification settings - Fork 1
backend firestore Overview
GitHub Action edited this page Apr 21, 2026
·
2 revisions
A backend adapter for Google Cloud Firestore. This package allows Quatrain to use Firestore as its primary NoSQL database.
- Implements the
@quatrain/backendabstract adapter. - Leverages the
@google-cloud/firestoreSDK. - Optimized for Firestore's data model, including subcollection handling.
- Supports real-time listeners for live data synchronization.
npm install @quatrain/backend-firestore @google-cloud/firestoreimport { Backend } from '@quatrain/backend'
import { FirestoreAdapter } from '@quatrain/backend-firestore'
const adapter = new FirestoreAdapter({ config: { projectId: 'my-project' } })
Backend.addAdapter(adapter, 'default', true)For concrete examples and usage guides, please refer to the How-To Guide.