Firebase is a development platform owned by Google (formerly known as Firebase, Inc. acquired in 2014) that enables programmers to build web and mobile applications faster. It is comprised of many functionalities such as:
- Cloud Storage to simply serve resources like videos and photos.
- Hosting to deliver web assets easily by deploying static files (HTML, CSS, JS);
- Cloud Functions to run server side code hassle-free.
For further details about their many other functionalities such as their user engagement tools (analytics, invites and so on), please follow this link.
Install and develop with the Firebase client locally:
- NodeJS must be installed first.
- Second, open a command prompt and run
npm i -g firebase-tools
(Patience will help for this step as there are lots of node modules being downloaded...). - Afterwards, by running this command:
firebase login
, you can log in to your Google account to access your Google projects (Email + password of the Google account). - Next, run
firebase init
in a project folder of your choice to start developing. - Use
firebase serve
to test the project locally (ngrok shall come in handy to expose your local instance to the Web with HTTP tunnelling). - Finally, once you're done tinkering with your app,
firebase deploy
can be used to push your changes to Google's servers.
- Spark Plan which is mainly used for testing purposes and external network calls are disabled.
- Flame Plan is a monthly fee plan with capped services.
- Blaze Plan is a "pay-as-you-go" plan without any capping on use and allows several databases per project unlike the other plans.