# angular/angularfire

Angular + Firebase = ❤️

Repository: https://github.com/angular/angularfire
Canonical: https://ross.abutalabs.com/products/angularfire
Homepage: https://firebaseopensource.com/projects/angular/angularfire2
Language: TypeScript
License: MIT
License Family: permissive
Topics: firebase, angular, angularfire, realtime-database, cloud-firestore, cloud-functions, ngrx, offline-data, notifications, realtime, rxjs
Last push: 2026-08-21T22:37:04+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 40, longevity 100
- inputs: {"age_days": 3887, "days_push": 12, "days_rel": 447, "gap_med": 27.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7804, forks 2155 (observed 2026-08-28T04:10:05.159915+00:00)

## What it is
AngularFire is the official Angular library wrapping the Firebase JS SDK, exposing Firebase services (Firestore, Realtime Database, Auth, Analytics, Cloud Messaging, etc.) through Angular-idiomatic dependency injection and RxJS observables. It includes schematics for setup and deployment, router guards for auth, zone-aware wrappers, and lazy-loading of Firebase modules.

## Use cases
- add firebase authentication to an angular app
- bind firestore collections to angular components with observables
- guard angular routes based on firebase auth state
- deploy an angular app to firebase hosting with one command
- use firebase realtime database with rxjs streams
- send push notifications with firebase cloud messaging in angular
- track page views in google analytics via the angular router
- server-side render an angular app backed by firebase

## When to choose
- you are building an Angular application backed by Firebase services
- you want RxJS-observable bindings to Firestore or Realtime Database
- you need Firebase auth integrated with Angular router guards
- you want NgRx-friendly action-based APIs over Firebase data
- you want SSR-compatible, zone-aware Firebase integration

## When to avoid
- you use React, Vue, or another non-Angular framework
- you use a backend other than Firebase
- you need direct low-level control of the Firebase JS SDK without Angular abstractions
- your project does not use RxJS or Angular dependency injection conventions

## Facets
- artifact type: library
- maturity: active
- function: auth, database, web-framework, middleware, routing, analytics, sdk
- domain: web-development, frontend, databases, developer-tools
- platform: cross-platform
- tags: angular, firebase, firestore, realtime-database, rxjs, ngrx, ssr, cloud-functions, push-notifications, offline-data, real-time, web-server, nodejs

## Member repositories
- angular/angularfire (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.159915+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:34:37.155284+00:00, confidence not recorded.
  - readme: https://github.com/angular/angularfire (fetched 2026-08-28T04:10:05.159915+00:00, sha 293a23ad22b4)
  - homepage: https://firebaseopensource.com/projects/angular/angularfire2 (fetched 2026-08-29T08:31:06.800969+00:00, sha aa352fc5f120)
- Data as of 2026-08-30T08:39:29.467469+00:00.
