Accessing Firebase services

Firebase API follows a straightforward approach. By invoking these methods will get you access to each Firebase service.

Firebase API

Syntax to access Firebase Firestore

firebase.firestore()

Syntax to access Firebase Authentication

firebase.auth()

Syntax to access Firebase Storage

firebase.storage()

Firebase hosting commands

Firebase Hosting uses a command-line interface instead of methods on the Firebase object. Run the following commands:

Initialize a Firebase project

firebase init 

deploy a Firebase project

firebase deploy 

Feel free to share if you found this useful šŸ˜ƒ.

Aswin Barath

Aswin Barath

My name is Aswin Barath. Iā€™m a technical blogger and budding software engineer