Firebase
Google's platform for applications: authentication, Firestore database, hosting, file storage, functions and messaging. Free Spark plan; Blaze plan pay-as-you-go.
For a small application, a SQLite or Postgres database with simple authentication and file storage is enough, and PocketBase already does all that in a single executable. What Firebase brings: turnkey authentication, real-time sync with offline mode on mobile, push notifications and automatic scaling. Replaceable for a classic website or web app; less so for a real-time mobile app.
What you lose
- Turnkey authentication
- Real-time sync with offline mode on mobile
- Push notifications
- Automatic scaling
Existing alternatives to Firebase
- PocketBaseOpen source
Free backend (MIT) in a single executable: SQLite database, authentication, file storage, API and real time.
- Supabase auto-hébergéOpen source
PostgreSQL database, authentication and storage (Apache-2.0), self-hostable.
Apache-2.0 licence · version v1.26.08 of August 7, 2026 · ★ 115,200 GitHub stars (as of November 20, 2026)
- AppwriteOpen source
Self-hostable backend (BSD-3): database, authentication, storage and functions.
BSD-3-Clause licence · version 2.7.4 of November 19, 2026 · ★ 58,434 GitHub stars (as of November 20, 2026)
What a home-built tool costs once it exists
- Hosting and database: a server cost, and automatic backups you actually test.
- Security and GDPR: dependency updates, an HTTPS certificate, protection of your customers’ data.
- Upkeep time: who fixes the tool on a Saturday night in the middle of service if the server goes down?
The prompt to build it yourself
Build me a small self-hosted backend for a web application, to replace Firebase. Stack: Node, TypeScript, SQLite, hosted on my small server. To do: - Authentication by email and password (argon2), sessions by secure cookie, reset by email. - REST API on my collections with per-user access rules, validated by a schema. - Subscription to real-time changes through Server-Sent Events. - File storage on disk with size and type limits. - Daily database backup and a tested restore procedure. - Tests on the access rules; README with the update procedure. Out of scope: push notifications, offline on mobile, serverless functions, social-network authentication.
Frequently asked questions
- How much does Firebase cost, and what do you really pay for?
- Listed price: free, then usage-based billing. What the subscription covers and is hard to maintain yourself: Turnkey authentication; Real-time sync with offline mode on mobile; Push notifications; Automatic scaling.
- What free or open-source alternatives to Firebase exist?
- PocketBase (open source), Supabase auto-hébergé (open source), Appwrite (open source). Options to compare before committing to a custom build.
- Where do you start to build an equivalent of Firebase?
- Copy this page’s prompt into Claude, Codex or Cursor to get a first prototype. Then plan for hosting, data backups and GDPR compliance: that is what costs the most to maintain over time.
How are our verdicts established? Read our detailed methodology ↗
Community feedback
Readers tell what they built instead of this tool, or what broke along the way. Every entry is reviewed before publication.
No feedback published yet. Have you tried replacing this tool? Tell us about it.
Share your feedback
More like this
Are you the publisher of Firebase? Badge for your site
Badge for your website
Display the casevibecode verdict on your website or documentation.
<a href="https://casevibecode.fr/en/logiciel/firebase" target="_blank" rel="noopener noreferrer"><img src="https://casevibecode.fr/api/badge/firebase?lang=en" alt="casevibecode verdict: Partly replaceable" /></a>