Firebase Database Realtime CRUD example for Android

Firebase Database Realtime CRUD

For database application CRUD operation are used, which stand for  Create, Read, Update and Delete. As Firebase database which is one of the NoSQL database gaining more popularity and it’s used by developer is increasing rapidly, it will be beneficial if you have command on it. In this tutorial you will learn how to setup Realtime Firbase Database in your Android Application.

Many of you are familiar with SQL tables and you may have you present projects database in SQL tables. No worry, in this tutorial you can learn modeling SQL tables to NoSQL Firebase Database with basic CRUD operation on the database (Create, Read, Update and Delete).

Step.1> How will be database look

With this tutorial we will have following database design.

Firebase Realtime Database Design
Firebase Realtime Database Design

As an SQL database uses tabular format to store data, but in-case of firebase the JSON tree structure is used. Changing the above database structure, the firebase realtime database structure will be.

Firebase realtime database structure
Firebase realtime database structure

Here i think you get all the basic information about Firebase realtime database, now we will move to Android studio.

One thought on “Firebase Database Realtime CRUD example for Android”

Leave a Reply