What is Frost?
Frost is an ORM (Object Relational Mapping) Library that utilizes Code generation to simplify working with Firebases's Realtime DB. Frost Focuses on the relations between the database nodes and generates all the needed code for the developer to fetch these nodes with the ones related to them. It also utilizes ReactiveX to provide the developer with observables that listen to the changes on theses nodes. And Of course provide the developer with the utilities to preform basic operations on the database.
Getting Started
Before we head to defining the models and the relations between them, we need to setup the project.
What you'll need
- Firebase Database credentials to initialize the database client.
- Install the frost client package and the frost cli.
- Define the database schema and use the frost cli to generate the code from the schema
Finally you can follow the installation guide and then go through the documentation.