Skip to content

Firebase

@rebasepro/firebase points Rebase CMS at Firebase. Your collections describe Firestore documents, and the panel reads and writes them through the Firebase SDK.

pnpm add @rebasepro/firebase firebase

Peer dependencies: firebase (10, 11 or 12), react ≥ 19, react-dom ≥ 19, and optionally typesense for text search.

  • 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.

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

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.