Follow this guide to quickly start with Typesaurus in your project.
Installation
To start, install typesaurus
, firebase
and firebase-admin
:
Configuration
Use recommended TypeScript config to make the most of Typesaurus:
→ Read more recommended config
Using
Defining schema
To define the database schema, import schema
from typesaurus
:
→ Read more about defining schema
→ Learn designing schema best practices
Using the db
After defining the schema, use the returned object to work with the database:
Reading data
Quick overview of available reading operations:
→ Read more about reading data
Writing data
Quick overview of available writing operations:
→ Read more about writing data