Rebase vs Firebase
Firestore is a document store, and joins, constraints and reporting are the things it asks you to design around. Rebase starts from a relational schema you own — and the console you get is an admin panel your team can work in, not a data browser for developers.
A document store, or a relational one
Where it hurts
Firestore is a document store, so a JOIN is something you design around: denormalise across collections and keep the copies in step with Cloud Functions. Firebase does now offer a relational option — SQL Connect, formerly Data Connect, which puts GraphQL, raw SQL and query subscriptions over a Cloud SQL for PostgreSQL database — but it is a separate product from the Firestore most Firebase apps are built on, and it is Google's Postgres rather than yours.
What Rebase does instead
Rebase runs on a relational PostgreSQL database you own.
- Store a user's name exactly once. Update it once.
- Joins are joins, resolved by the database rather than by a sync script.
- Constraints and foreign keys keep integrity where it belongs.
A console for your data, or an admin panel for your team
Where it hurts
The Firebase Console is a developer tool. If the customer-success team or a content writer needs a dashboard, you build an entire admin panel yourself and wire it to the Firebase SDK.
What Rebase does instead
Rebase generates Rebase CMS, a production-ready React admin panel, from the same table definition.
- Tables, kanban boards and edit screens, generated from the schema.
- Safe to hand to non-technical teammates, because the policies are in the database.
- Replace any part of it with your own React components.
Google Cloud, or wherever you deploy
Where it hurts
Firestore is proprietary to Google Cloud, and its document model is not a relational one. Moving off it is not an export — it is a remodelling exercise, and the cost is proportional to how much of the shape you denormalised to make Firestore work.
What Rebase does instead
Rebase is MIT-licensed and ships as a Docker image.
- Run it on Rebase Cloud (private beta), or host it on AWS, DigitalOcean, Fly.io, Railway, Hetzner, or your own hardware.
- Underneath it is an ordinary PostgreSQL database, so any BI tool, ETL job or psql session that speaks Postgres already works against it.
Questions
06 questionsRebase and Firebase, answered
Can I migrate from Firestore to Rebase?
The data can move, but it is a genuine migration rather than a connection change: Firestore is a document store and Rebase is relational, so collections of nested documents have to be modelled as tables and foreign keys. That modelling work is the migration. What you get for it is SQL, joins, transactions and constraints — which is usually the reason people leave in the first place.
Does Rebase have realtime like Firestore?
Yes — realtime subscriptions over WebSocket, driven by changes in Postgres, and delivered under the same row-level security as every other read. That last part is the difference worth knowing: a subscription cannot see rows the subscriber is not allowed to read, because the policy is enforced by the database rather than by the code that set up the listener. Changes are read from Postgres's write-ahead log by default, so a write from psql, a migration or another service reaches subscribers too.
What replaces Firebase Auth?
Rebase ships its own authentication: email and password, magic links, one-time codes, TOTP multi-factor, scoped API keys, and twelve OAuth and OIDC providers including Google, Microsoft Entra ID, Apple and GitHub — or your own adapter in front of Auth0, Clerk, or Firebase Auth itself. The signed-in user's identity is what row-level security policies are written against. The practical difference is that your users live in your own Postgres, in a table you can query and join against, rather than in a separate identity service you reach over an API.
Why move to Postgres at all?
Usually because a query got hard. Document stores are pleasant until you need to ask a question that spans three collections, enforce that two writes happen together, or hand an analyst something they can query. Those are one-line problems in SQL and architectural problems in Firestore.
Does Rebase work offline like Firestore?
Yes. With offline: true the SDK becomes a local-first store: reads are answered from a local database in the browser, writes apply at once, queue and replay when the connection returns, and a write the server refuses is rolled back. The server stays the authority, so a queued write still passes the same policies when it lands.
Do I have to self-host Rebase?
No. Run it on Rebase Cloud — Postgres, storage and the runtime managed in Europe, live with real tenants and opening in batches while it is in private beta, priced per resource rather than per seat — or self-host the same project and own the machine too. Your code is identical either way; hosting is a deployment target, not a fork.
Get started
Don't take our word for it.
The comparison that matters is the one you run. Run Rebase yourself and see how it holds up next to Firebase.
No account · No Docker · Built-in local Postgres · MIT