firebase

Installation
Summary

Firebase backend setup with security-first guidance on auth, database, storage, and functions.

  • Covers nine Firebase services: authentication, Firestore, Realtime Database, Cloud Functions, Storage, Hosting, Security Rules, Admin SDK, and local emulators
  • Emphasizes security rules design, data modeling for query patterns, and modular SDK imports to avoid common pitfalls
  • Highlights anti-patterns to avoid: missing security rules, client-side admin operations, and listeners on large collections that cause cost overruns
  • Integrates well with Next.js, React, OAuth, and Stripe workflows
SKILL.md

Firebase

Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model.

This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. If you're thinking relationally, you're thinking wrong.

2025 lesson: Firestore pricing can surprise you. Reads are cheap until they're not. A poorly designed listener can cost more than a dedicated database. Plan your data model for your query patterns, not your data relationships.

Principles

  • Design data for queries, not relationships
Related skills
Installs
1.1K
GitHub Stars
37.3K
First Seen
Jan 19, 2026