Goals
- 👩💻 Managing documents should be a great developer experience with simple implementations and TypeScript hints and warnings.
- 🔒 Data should be structured so that it’s easy to secure, but we shouldn’t have to constantly constuct long paths to the data we wish to manage.
- 🔎 Metadata like the date a post was created should be managed in the database for easy sorting and querying.
Implementation
The action utilities provided by@firebridge/cloud
make it easy to create your own simple actions for performing database operations. For example:
firestoreAdd
for adding documentsfirestoreDelete
for deleting documentsfirestoreGet
for reading documentsfirestoreSet
for setting documentsfirestoreUpdate
for updating documentsfirestoreMerge
for merging documents