Firebase database Authentication in Android

Firebase also provides awesome feature about real time Database. It is a powerful platform for building iOS, Android, and web-based apps, offering real-time data storage and synchronization, user authentication, and more.

Store and sync data with our NoSQL cloud database. Data is synced across all clients in realtime, and remains available when your app goes offline. No server required to configure and no any API call required like using volley and Retrofit.
It is very easy to use. Firebase still in Beta So here you can get started.

Step.1: Please go to Firebase console to create the project.Step.2: Now you can create the project name and enter your county name.

Step.3: You have to choose which platform do you want to use firebase push. Here we are configuring for android platform, so I am choosing option for android app. Step.4: Now you need to enter your package name of your project. Ex: Here my package name is "com.sunil.firebasedatabasetest" . Other fields are optional for debug mode. But if you want to release your app that time you need to pass the SHA-1 key.

Step.5: Once you done your step.5 You will get downloded one google-services.json file. You have to copy this file and paste inside the app folder. Wow You have done your configuration. Now add your dependencies in your project level and app level.

Now you are logged user. Lets create the database with notes table. Every user can add notes. Lets show all created notes in recyclerView. And add note with title and description.
Lets checkout first create a note.