firebase

Installation
SKILL.md

Firebase (Firestore & Realtime Database)

Firebase provides two NoSQL databases:

  1. Cloud Firestore: The newer, recommended scalable database.
  2. Realtime Database: The original low-latency JSON tree sync.

When to Use

  • Real-Time Client Synchronization: Pushing document and collection updates instantly to mobile and web clients via Firestore snapshot listeners.
  • Rapid Prototyping & MVPs: Building complete web and mobile apps with drop-in Auth, Firestore, Cloud Functions, and Hosting.
  • Offline-First Mobile Apps: Native offline caching and latency compensation out of the box in mobile and web SDKs.
  • Client-Direct Database Access: Allowing client applications to query databases directly while enforcing access via declarative Security Rules.

Quick Start

import { getFirestore, collection, addDoc } from "firebase/firestore";
Installs
8
GitHub Stars
15
First Seen
Feb 10, 2026