logo

Firebase Realtime Database

Demo to preview the settings

Introduction

A Realtime Firebase database is a database hosted in the cloud. The data is stored in JSON format and synchronized in real time with each connected client.
The plugin helps you interact with the database from your application by first connecting your account
Prerequisites: You will need a developer account with Firebase API in order interact with the Plugin: https://console.firebase.google.com/

Getting Setup

Go to https://console .firebase.google.com / and create a new project or use the created one, if you have one.
Image without caption
Follow the instructions and fill in all the necessary fields:
Image without caption
After the project is created, you can log in to it and go to the database tab:
Image without caption
The database has a special structure that must be adhered to for proper processing:
Image without caption
๐Ÿ’ก
For all API calls, you'll need an Access Token for authorization.
Below is the instruction for obtaining an access token.
  1. In the Firebase console open your app and go to project settings in the settings tab
  1. On the "General" tab, you will see all the necessary information for your plugin.
  1. Copy the Web API Key and paste it into the plugin settings
Image without caption
๐Ÿ’ก
Done! Your app is ready to pull & store files!

Data Calls

Get current user dataย - Get current user info

Action Calls

Image without caption
This info is taken from your Realtime Database
Image without caption
๐Ÿ’ก
All actions use the same fields: PROJECT_ID, database, path, query.
Image without caption