Firebase Realtime Database Wrapper
A basic abstraction over the Firebase Web API.
To begin, create a Database struct by passing the path to your service account token file, and your project id"
use Database;
let database = from_path.await?;
The database exposes four methods to interact with the database
let get_result = database.get.await?;
let put_result = database
.put
.await?;
let update_result = database
.update
.await?;
let delete_result = database.delete.await?;
Where each method takes a path. Put, Update and Delete take in Serializable data. All methods return a result of reqwest::Response and FirebaseError. FirebaseError contains just a message field that contains the error message.