18.0.1 • Published 30 days ago

@angular/fire v18.0.1

Weekly downloads
88,255
License
MIT
Repository
github
Last release
30 days ago

Build Status Join the chat at https://gitter.im/angular/angularfire2

What is AngularFire?

  • Observable based - Use the power of RxJS, Angular, and Firebase.
  • Realtime bindings - Synchronize data in realtime.
  • Authentication - Log users in with a variety of providers and monitor authentication state.
  • Offline Data - Store data offline automatically with AngularFirestore.
  • Server-side Render - Generate static HTML to boost perceived performance or create static sites.
  • ngrx friendly - Integrate with ngrx using AngularFire's action based APIs.
  • Manage binary data - Upload, download, and delete binary files like images, videos, and other blobs.
  • Call server code - Directly call serverless Cloud Functions with user context automatically passed.
  • Push notifications - Register and listen for push notifications
  • Modular - Include only what's needed. No AngularFire package is above 3kb with most under 2kb (gzipped).

Quick links

Contributing

Stackblitz Template - Remember to set your Firebase configuration in app/app.module.ts.

Upgrading to v5.0? Check out our guide.

Having troubles? Get help on the Firebase Mailing List (officially supported), the Firebase Community Slack (look for the #angularfire2 room), Gitter, or Stack Overflow.

Install

npm install firebase @angular/fire --save

Example use:

import { Component } from '@angular/core';
import { AngularFirestore } from '@angular/fire/firestore';
import { Observable } from 'rxjs';

@Component({
  selector: 'app-root',
  template: `
  <ul>
    <li *ngFor="let item of items | async">
      {{ item.name }}
    </li>
  </ul>
  `
})
export class MyApp {
  items: Observable<any[]>;
  constructor(db: AngularFirestore) {
    this.items = db.collection('items').valueChanges();
  }
}

Developer Guide

Getting started

Interacting with your database(s)

Firebase offers two cloud-based, client-accessible database solutions that support realtime data syncing. Learn about the differences between them in the Firebase Documentation.

Cloud Firestore

AngularFirestore allows you to work with Cloud Firestore, the new flagship database for mobile app development. It improves on the successes of Realtime Database with a new, more intuitive data model. Cloud Firestore also features richer, faster queries and scales better than Realtime Database.

Realtime Database

AngularFireDatabase allows you to work with the Realtime Database, Firebase's original database. It's an efficient, low-latency solution for mobile apps that require synced states across clients in realtime.

Authenticate users

Upload files

Send push notifications

Directly call Cloud Functions

Deploying your application

Firebase Hosting is production-grade web content hosting for developers. With Hosting, you can quickly and easily deploy web apps and static content to a global content delivery network (CDN) with a single command.

Server-side rendering

Angular Universal is a technology that allows you to run your Angular application on a server. This allows you to generate your HTML in a process called server-side rendering (SSR). Angularfire is compatible with server-side rendering; allowing you to take advantage of the Search Engine Optimization, link previews, the performance gains granted by the technology, and more. Learn more about Angular Universal.

Ionic

@dineshghule321/nebularts-shared-libcmx-list-viewpalafire-angularabp-zero-templates-gabp-zero-template-gmanualabp-zero-templat-gabp-zero-template-gip-plugin-adminip-plugins-standard@b4agroup/user@infrab4a/firestore-crudngx-upload-img-to-firestorehl-studios-ngx-live-lib@sm-soluciones/core-app@infinitebrahmanuniverse/nolb-_angngxs-firestore@everything-registry/sub-chunk-67t3ex-annual-partywntl-authwntl-storagesanfelici-interfacesergio-my-chatswifter-ui-chat-libswifter-ui-notifications-libvn-toastvb-au-inputcomponente-web-recaudo-lib-utillinktogo_frlangxapplanguagexchangeheroes-reusable-componentsjedi-adminhotel-reservatiesifsp-chaos-guarulhosnebular-zknabular--nowarningsnbaf-basemanage_film_examplemark-test1material-nglsdevalb-nebularoompa-loompa-componentsox-dictionary-libox-notificationprojetodokawantttoctali-firebase-utilsocta-clientomnipresent-web-libngx-mat-power-calendarpwa-app-testngx-util-core-demongx-generic-utilsngxmatfiremw-workspacemw-quick-start-frontendpfeeeng-fire-adminramkrishnarecipes-projectsprintteksprinttek-cardssprinttek-dev-templatessprinttek-dev-templates-cardssprinttek-dev-templates-redsprinttek-redsprinttek-templatessprinttek-templates-1sprinttek-templates-cadssprinttek-templates-cardingsprinttek-templates-cardssprinttek-templates-jursprinttek-templates-namsprinttek-templates-nambriasprinttek-templates-redsprinttek-templates-yowsprinttek-templates0cardssprinttek-templatesssprinttek-templatessxsprinttek-templatesx1sprinttektestsprinttektest1steexsubcontracttodo-list-tp-pipelinetodoist-core@chongsinran/codebento22pa28@deinrufde/dictionary@hydapps/create-matchstick-app@genesis-frontend/docs@inclouded/slm-sdk@inclouded/tmf-agreements@inclouded/tmf-communicationmessages@inclouded/tmf-customers@inclouded/tmf-individuals@inclouded/tmf-inventory@inclouded/tmf-organizations@inclouded/tmf-partyroles@inclouded/tmf-resulttable
18.0.1

6 months ago

18.0.0

6 months ago

18.0.0-rc.0

6 months ago

17.1.0

6 months ago

17.0.1

11 months ago

17.0.0

12 months ago

16.0.0-rc.0

1 year ago

17.0.0-next.0

1 year ago

16.0.0

1 year ago

7.6.1

1 year ago

7.6.0

1 year ago

7.5.0

2 years ago

7.4.1

2 years ago

7.4.0

2 years ago

7.3.0

3 years ago

7.2.1

3 years ago

7.2.0

3 years ago

7.1.0-rc.5

3 years ago

7.1.1

3 years ago

7.1.0

3 years ago

7.1.0-rc.4

3 years ago

7.1.0-rc.0

3 years ago

7.1.0-rc.1

3 years ago

7.1.0-rc.2

3 years ago

7.1.0-rc.3

3 years ago

7.0.4

3 years ago

7.0.3

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

7.0.0-rc.0

3 years ago

7.0.0-alpha.3

3 years ago

7.0.0-alpha.5

3 years ago

7.0.0-alpha.4

3 years ago

7.0.0-alpha.2

3 years ago

7.0.0-alpha.1

3 years ago

7.0.0-alpha.0

4 years ago

6.1.5

4 years ago

6.1.5-rc.5

4 years ago

6.1.5-rc.4

4 years ago

6.1.5-rc.6

4 years ago

6.1.5-rc.1

4 years ago

6.1.5-rc.0

4 years ago

6.1.5-rc.3

4 years ago

6.1.4

4 years ago

6.1.3

4 years ago

6.1.2

4 years ago

6.1.1

4 years ago

6.1.0

4 years ago

6.1.0-rc.4

4 years ago

6.1.0-rc.3

4 years ago

6.1.0-rc.2

4 years ago

6.1.0-rc.1

4 years ago

6.1.0-rc.0

4 years ago

6.0.5

4 years ago

6.0.4

4 years ago

6.0.3

4 years ago

6.0.1

4 years ago

6.0.2

4 years ago

6.0.0

5 years ago

6.0.0-rc.2

5 years ago

5.4.2

5 years ago

6.0.0-rc.1

5 years ago

5.4.1

5 years ago

5.4.0

5 years ago

5.3.1

5 years ago

6.0.0-rc.0

5 years ago

6.0.0-next.0

5 years ago

5.3.0

5 years ago

5.3.0-rc.4

5 years ago

5.3.0-rc.3

5 years ago

5.3.0-rc.2

5 years ago

5.3.0-rc.1

5 years ago

5.3.0-rc.0

5 years ago

5.2.3

5 years ago

5.2.2

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.2.0-rc.3

5 years ago

5.2.0-rc.2

5 years ago

5.2.0-rc.1

6 years ago

5.2.0-beta.7

6 years ago

5.2.0-beta.6

6 years ago

5.2.0-beta.5

6 years ago

5.2.0-beta.4

6 years ago

5.2.0-beta.3

6 years ago

5.2.0-beta.2

6 years ago

5.1.3

6 years ago

5.2.0-beta.1

6 years ago

5.1.2

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.2

6 years ago

5.0.0

6 years ago

0.0.0

6 years ago