Stack Picker
a developer-grade decision engine
Back to the picker
Database

Firebase

Google's realtime BaaS — Firestore, Auth, Functions.

Official site
Monthly cost
$0+ / mo
Spark free; Blaze pay-as-you-go
Popularity
4/5
LLM knowledge
5/5
Difficulty
Easy
#realtime#serverless#low-cost

What Firebase is good at

Strengths
  • +Realtime built-in
  • +All-in-one BaaS
  • +Free tier
Tradeoffs
  • Vendor lock-in
  • Query limitations

Coding-agent prompt

You're working with Firebase. Google's realtime BaaS — Firestore, Auth, Functions.

Best practices:
- Lean on: realtime built-in
- Lean on: all-in-one baas
- Lean on: free tier

Things to watch for:
- Watch out for: vendor lock-in
- Watch out for: query limitations

General guidance:
- Canonical docs: https://firebase.google.com — check here before inventing APIs.
- Keep secrets in environment variables, never commit them.
- Write TypeScript where the ecosystem supports it; add types to every exported function.
- Add tests for the critical paths before declaring the task done.
- Read-the-docs is usually faster than guessing — cite the docs page in code comments when you apply a non-obvious pattern.

Beginner's guide to Firebase

In one line: Google's 'backend in a box' — database, auth, hosting, all bundled.

Firebase gives you a realtime database (Firestore), user authentication, hosting, and push notifications in one service. Very popular for mobile apps.

Popular pairings with Firebase

Browse all categories