Firebase

Build apps on Firebase with the modular JavaScript SDK: Authentication, Firestore modelling and queries, Security Rules, Storage, Cloud Functions, Hosting and production practices.

Start course →

What you'll learn

  • Explain the Firebase client-SDK model and why Security Rules are the real backend boundary.
  • Add sign-in with email, OAuth and anonymous auth, and use ID tokens and custom claims.
  • Model, read, write and query Firestore data with indexes, cursors and realtime listeners.
  • Write and test Firestore and Storage Security Rules with the Emulator Suite.
  • Build Cloud Functions with the Admin SDK, deploy to Hosting and use app features such as messaging and Remote Config.
  • Run Firebase in production with transactions, cost control, CI deploys and sound platform trade-offs.

Syllabus

Firebase Foundations

  1. What Firebase Is
  2. The Client SDK Model and Why Rules Matter
  3. Project Setup and Config

Firebase Authentication

  1. Email/Password and Email Link Sign-in
  2. OAuth Providers and Anonymous Auth
  3. Auth State, ID Tokens and Custom Claims

Firestore Data Modelling

  1. Documents, Collections and Subcollections
  2. Modelling for Queries
  3. Reading and Writing Documents

Querying Firestore

  1. Queries and Composite Indexes
  2. Pagination With Cursors
  3. Realtime Listeners and Offline Persistence

Security Rules

  1. Rules Language Basics
  2. Common Rule Patterns
  3. Testing Rules With the Emulator Suite

Storage and Cloud Functions

  1. Cloud Storage Uploads and Rules
  2. Cloud Functions and the Admin SDK
  3. Scheduled Functions and Secrets

Hosting and App Features

  1. Hosting, App Hosting and Preview Channels
  2. Cloud Messaging (Push) Overview
  3. Remote Config, Analytics and Crashlytics

Firebase in Production

  1. Transactions and Batched Writes
  2. Cost and Performance Control
  3. Emulators and CI Deploys
  4. Trade-offs and a Firebase Checklist