Published on

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


Syntax to access Firebase Authentication


Syntax to access 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 😃.