How to use Firebase database in Angular

Firebase database is a very popular database to be used in Real time data based applications. In this article we will learn about how to use firebase database in angular. Firebase is largely loved and used realtime database throughout the world by developers.

Follow the steps:

1. Create a Firebase project

Go to https://console.firebase.google.com and create a project with any name you want.

2. Add a web app

Click on Web icon and add an app by giving a name of your wish.

3. Get the Firebase Configurations

Copy the Firebase Config key value pairs and add it to your Angular project.

4. Run the app

You are now connected with the Firebase in Angular. Write some database fetch queries and run it.

Conclusion

In this article we learnt about how to connect your firebase application in Angular. You can write me up for any query you are having.

Leave a Reply

Your email address will not be published. Required fields are marked *