RealComposer
Upstream API

Firebase Integration Recipes

Edge pipelines that call Firebase securely from no-code and frontend clients - with vault-injected credentials and slim JSON responses.

Firebase safe & unsafe practices
Security & Secret Vault

Call firebase admin api from nextjs without exposing service account

Store service account JSON in Vault; Next.js routes call RealComposer instead of Firebase Admin SDK in serverless bundles. For "call firebase admin api from nextjs without exposing service account", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Next.js / React hit only https://realcomposer.com/v1/workspace/call-firebase-admin-from-nextjs-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Hide firebase api key in react native mobile app

Client uses anon rules; privileged reads run through edge proxy with Firebase tokens injected. For "hide firebase api key in react native mobile app", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/hide-firebase-api-key-react-native with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Firebase rest api proxy for webflow site

Firestore REST reads via edge with service token vault injection. For "firebase rest api proxy for webflow site", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/firebase-rest-proxy-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe

Combine firebase auth user with supabase profile endpoint

Firebase ID token lookup and Supabase profile row merged at edge. For "combine firebase auth user with supabase profile endpoint", store FIREBASE_ACCESS_TOKEN, SUPABASE_SERVICE_ROLE_KEY in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React / Flutter / Mobile hit only https://realcomposer.com/v1/workspace/combine-firebase-auth-with-supabase-profile with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Stitch firebase firestore with algolia search index

Firestore document fetch and Algolia query in one search-as-you-type call. For "stitch firebase firestore with algolia search index", store FIREBASE_ACCESS_TOKEN, ALGOLIA_API_KEY in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React hit only https://realcomposer.com/v1/workspace/stitch-firebase-with-algolia-search with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Stitch firebase with clerk session bootstrap

Clerk session and Firebase FCM registration merged at startup. For "stitch firebase with clerk session bootstrap", store FIREBASE_ACCESS_TOKEN, CLERK_SECRET_KEY in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/stitch-firebase-with-clerk-bootstrap with an rc_live_ client token.

Sub-10ms edgeView Recipe

How to reduce firebase firestore json payload size

Strips document names revision metadata and map noise at edge. For "how to reduce firebase firestore json payload size", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Flutter / React Native / Swift hit only https://realcomposer.com/v1/workspace/reduce-firebase-firestore-json-size with an rc_live_ client token.

Sub-10ms edgeView Recipe
Payload Slimmer

Firebase user profile api strip sensitive fields

Remove refresh tokens providerData internals at edge. For "firebase user profile api strip sensitive fields", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/strip-firebase-user-profile-sensitive with an rc_live_ client token.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache firebase firestore reads at edge

Edge cache Firestore REST document GETs keyed by document path. For "cache firebase firestore reads at edge", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/cache-firebase-firestore-reads-edge with an rc_live_ client token. Enable 180s GET cache only when query params identify the resource.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Firebase api rate limit avoid with edge caching

Edge absorbs repeated profile lookups across users. For "firebase api rate limit avoid with edge caching", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/avoid-firebase-api-rate-limits-edge with an rc_live_ client token. Enable 180s GET cache only when query params identify the resource.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Connect firebase to bubble io without server code

Firebase reads via RealComposer edge connector. For "connect firebase to bubble io without server code", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Bubble.io hit only https://realcomposer.com/v1/workspace/connect-firebase-to-bubble-no-server with an rc_live_ client token.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Supabase alternative for firebase auth proxy edge

Documents composed Firebase and Supabase pipeline clone path. For "supabase alternative for firebase auth proxy edge", store FIREBASE_ACCESS_TOKEN, SUPABASE_SERVICE_ROLE_KEY in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/firebase-auth-supabase-profile-edge-tutorial with an rc_live_ client token.

Sub-10ms edgeView Recipe