Firebase is real-time database using cloud technology. That permits you to make application without server side coding and Rest APIs. All the database related action will be managed by firebase. So, you just need to focus on Front side. Rest of all back end side will be managed by firebase services like user management, User authentication, database management, Synchronization of data etc. We just need to do some settings on our website or mobile apps for using firebase services.
When not to use firebase?
Firebase is not much useful when your user base is vast, products provide API, products has a large amount of data. Then, there are no reporting tools available like SQL, and your app needs a complex query for the result than firebase is not suitable for your application. The Example is Amazon, Flipkart, Ubar.
How to setup firebase database in your mobile app?
Step 2: Initialize Firebase using below code in your Index.html page
Step 3: Include firebase reference in app.js file.
Step 4: Now you are ready for performing database action using firebase