Firebase is a tool powered by Google for developing mobile and web applications, It offers free hosting, NoSQL databases and many more services and makes our life pretty easier as compared to other backends like node.js etc. All you need is a Gmail account..
Firstly, create a project on Firebase
Make sure you have Nodejs installed in your system
Open up the terminal and install the firebase-cli by
npm i -g firebase-tools
PS: On Linux or Mac type
sudo npm i -g firebase-tools- this
will give admin privileges and avoid errors
It will ask for the root folder where your files to be deployed is contained public - will be the default folder
PS: In case OF React JS or angular JS type in
npm run buildand configure your root folder as
That's it for today!