Firebase
@rebasepro/firebase points Rebase CMS at Firebase. Your
collections describe Firestore documents, and the panel reads and writes them
through the Firebase SDK.
Installation
Section titled “Installation”pnpm add @rebasepro/firebase firebasePeer dependencies: firebase (10, 11 or 12), react ≥ 19, react-dom ≥ 19, and
optionally typesense for text search.
What it gives you
Section titled “What it gives you”RebaseFirebaseApp— a complete admin app: Firebase Auth login, routing, and CRUD over Firestore built from your collection definitions.- Hooks per service — auth, Firestore, storage, App Check, user management.
- Text search adapters — Algolia, Typesense, Pinecone, or local.
import { RebaseFirebaseApp } from "@rebasepro/firebase";
export default function App() { return <RebaseFirebaseApp name="My Project" firebaseConfig={firebaseConfig} collections={[posts, authors]} />;}A working example lives in examples/firebase.
What does not carry over
Section titled “What does not carry over”Everything on this site that describes the Rebase backend describes the PostgreSQL (or MongoDB) path, not this one:
| Row-level security | Firebase Security Rules instead, written in Firebase |
| REST API and generated SDK | Absent — the browser uses the Firebase SDK |
| Functions and crons | Cloud Functions for Firebase instead |
| Storage access model | Firebase Storage rules instead |
Studio, rls-check, migrations |
Postgres features; not applicable |
Choosing it
Section titled “Choosing it”Take this when you already have a Firebase project and want a better admin panel over it. If you are choosing a backend rather than adapting to one you have, the PostgreSQL path is the one the rest of this documentation is about.
Related
Section titled “Related”- Frontend Setup — the panel this replaces the data layer of
- Authentication & Login — the sign-in surface, either way
- Defining Collections — the collection shape both drivers read