Documentation

gitHub

Firebase

The Google Firebase Realtime Database is a cloud-hosted database.  Data is stored in JSON and synchronized in real time to every connected mobile or other client.  It lets developers build rich collaborative applications, with data also persisted locally, to give users a responsive experience.

 

Google offers two cloud-based, client-accessible database solutions that support real time data syncing:

  • Realtime database: is Firebase's original database
  • Cloud Firestore: an improved solution with a more intuitive data model.  It features richer, faster queries and scales better than the Realtime Firesbase database.

 

Given the differences between the 2 approaches, data modeling for the Cloud Firestore requires a separate plugin.

 

To perform data modeling for Firebase with Hackolade, you must first download the Firebase pluginNote: the reverse-engineering of documents is not currently available.  It is being developed and will be released at a later time.

 

Hackolade was specially adapted to support the data modeling of data stored as a large JSON tree, with data nodes and their associated keys.

Firebase workspace

Databases

Each Firebase Realtime database data is stored as JSON objects.  

 

 

Nodes

 

 

 

IDs

 

 

Attributes data types

 

 

Indexes

 

Forward-Engineering

Not applicable, as Firebase does not provide any way to enforce any kind of schema.

Reverse-Engineering

Note: the reverse-engineering of documents is not currently available.  It is being developed and will be released at a later time.

 

 

For more information on Cosmos DB in general, please consult the website.