Skip to content

About

Practical Firebase web development notes for the modular JavaScript SDK, Authentication, Firestore, Realtime Database, Storage, Security Rules, Functions, Hosting, and emulators.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Firebase Study Notes

These are my personal study notes from learning and working with Firebase. They collect the concepts, JavaScript examples, setup details, and decisions I want to keep in one dependable reference.

The notes focus on Firebase for web applications using the modular JavaScript SDK. They cover Firebase Authentication, Cloud Firestore, Realtime Database, Cloud Storage, Cloud Functions, Hosting, security, testing, and operations.

About this collection

This repository is a working record of what I study and practice with Firebase. Each chapter builds from project setup and the JavaScript SDK to data modeling, user access, deployment, and production operations.

The examples use fictional project names and data. Firebase project configuration identifies an app but does not replace Security Rules, server authorization, or careful handling of private credentials.

Core topics

  • Firebase projects, web apps, and service selection
  • Modular JavaScript SDK setup and initialization
  • Authentication and account lifecycle
  • Cloud Firestore documents, queries, and indexes
  • Firestore Security Rules and authorization
  • Realtime Database, Cloud Storage, and file protection
  • Cloud Functions, Hosting, and App Check
  • Local emulators, tests, and release workflows
  • Analytics, performance, billing, and operations

Chapters

  1. Firebase projects, apps, and product map
    Understand Firebase projects, registered apps, environments, and how the main services fit together.

  2. JavaScript SDK setup and modular initialization
    Add the modular Firebase JavaScript SDK, initialize app services, and organize configuration safely.

  3. Authentication and account lifecycle
    Build sign-up, sign-in, sign-out, account observation, verification, and password recovery flows.

  4. Cloud Firestore documents and data modeling
    Model collections, documents, fields, subcollections, references, and practical application data.

  5. Firestore reads, queries, indexes, and pagination
    Read documents, combine query constraints, understand indexes, and paginate results.

  6. Firestore Security Rules and authorization
    Protect client access with authentication-aware rules, validation, and rule testing.

  7. Realtime Database and live synchronization
    Understand the JSON tree, data listeners, transactions, presence patterns, and access rules.

  8. Cloud Storage for files
    Upload, download, validate, organize, and protect user files with Storage Rules.

  9. Cloud Functions and event-driven work
    Use server-side functions for trusted work, triggers, callable operations, and task processing.

  10. Firebase Hosting and web delivery
    Configure hosting, previews, rewrites, headers, deployment, and rollback workflows.

  11. App Check and abuse reduction
    Use App Check to help confirm requests come from registered apps and protect supported services.

  12. Local Emulator Suite and testing
    Run local service emulators, connect the JavaScript SDK, seed test data, and validate rules.

  13. Firebase Cloud Messaging for web
    Understand browser support, permission, service workers, token lifecycle, and message handling.

  14. Analytics and Performance Monitoring
    Instrument web events, review performance traces, and handle privacy and consent carefully.

  15. Environments, configuration, and CI/CD
    Separate development, test, and production resources and automate checked deployments.

  16. Billing, operations, debugging, and production checklist
    Review quotas, costs, logs, monitoring, recovery, and release readiness.

Reference chapters

How to use these notes

Read the chapters in order when learning Firebase, or open the section that answers a question from your current project. Test security rules and service behavior with non-production data before applying changes to a live app.

Main references

License

These notes are available under the MIT License.

Links

Support

About

Practical Firebase web development notes for the modular JavaScript SDK, Authentication, Firestore, Realtime Database, Storage, Security Rules, Functions, Hosting, and emulators.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors