How The AngularFire Library Makes Firebase Feel Like Magic

How The AngularFire Library Makes Firebase Feel Like Magic

The following post is going to give a high level view of the AngularFire library, and how it works under the hood. I’m going to walkthrough a simple grocery list app I wrote, and show how using AngularFire makes things seem to work like magic.

I’ve been working a lot recently with Google’s Firebase to build out a few side projects, and I wanted to write about my experience. The Firebase Platform is really powerful, and provides services that cover most of your application needs. It has services for Hosting, Authentication, Database Storage, File Storage, and more. In order to use these services, you can build out a Node Express setup or even make use of Firebase Cloud Functions and build out an API….or there’s an even easier method to do this with the AngularFire Library.

The following post is going to give a high level view of the AngularFire library, and how it works under the hood. I’m going to walkthrough a simple grocery list app I wrote, and show how using AngularFire makes things seem to work like magic.

Please note that this post assumes that you are already familiar with Firebase applications and the Firebase console. For a more in depth walkthrough please checkout my post on RhythmAndBinary.com here and also my Angular-In-Depth post on deployment here.

AngularFire

AngularFire is the official library that connects Angular to Firebase. As of this writing, AngularFire provides connections to the following Firebase services:

  1. Authentication
  2. File Storage
  3. Cloud Firestore (NoSQL Database)

The Authentication Service provides OAuth through multiple providers. The following screenshot shows what is available in the console once you setup your Firebase App:

AngularFire provides realtime updates through observable streams and is highly optimized. Under the hood AngularFire is also using a custom protocol called “WebChannel” which operates to create the real time synchronization (check out the link here for more info). There are also action API endpoints that integrate nicely with NgRx if you wanted to use that in conjunction with AngularFire as well.

AngularFire also has a great README that walks you through a lot of the basics from the initial installation to actual code examples for different services. Checkout their README here.

In the remainder of the post, I’m going to go through using Authentication and Cloud Firestore. The File Storage feature is also really great and well documented here.

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How The angularFire Library Makes Firebase Feel Like Magic

The following post is going to give a high level view of the AngularFire library, and how it works under the hood. I’m going to walkthrough a simple grocery list app I wrote, and show how using AngularFire makes things seem to work like magic.

How much does it cost to make an app like Facebook?

We offer Best Mobile Solution with help of our expert team of Business Analyst who has knowledge and experience of 700+ apps serving various types of Industries Globally.

How much does it cost to make an app like Paytm/Groupon?

Get a Free Quote on Android App Development, iPhone App Development, Ionic App Development, Video Development, ASO, SEO, Google Ads/Adwords, SEO for your app Idea.

What is firebase,firebase bangla tutorial.

LIKE | COMMENT | SHARE | SUBSCRIBE The Firebase Realtime Database is a cloud-hosted NoSQL database that lets you store and sync data between your users in re...

How to make a Healthcare app like Practo | Cost to develop an app like Practo

Build an on-demand medical app like Practo with WebClues Infotech. Now, booking appointments with doctors, health checkups, ordering medicines online is easy. Consult today!