An open API service indexing awesome lists of open source software.

https://github.com/kafkas/typesync

Single source of truth for Firestore
https://github.com/kafkas/typesync

cli cloud-firestore firestore nodejs python schema-management security-rules swift typescript validation

Last synced: 23 days ago
JSON representation

Single source of truth for Firestore

Awesome Lists containing this project

README

          


header


typesync


Schema-first Firestore tooling for types, validation, and visualization







PRs welcome!




Typesync CLI is released under the MIT license.

Typesync is an open-source schema management tool for [Firestore](https://cloud.google.com/firestore) databases. You maintain a single source of truth for your Firestore architecture in a _schema_, then use the CLI to generate code and validate data from that schema.

Typesync helps keep your database, generated application code, and validation checks aligned as your schema changes.

# How Typesync Helps You

- Generate Firestore models for TypeScript, Swift, and Python from one schema.
- Validate live Firestore documents with `typesync validate-data`.
- Generate Security Rules validators from the same model definitions.
- Visualize your Firestore architecture with Mermaid graphs.
- Carry schema documentation into generated model output.

[**View the full documentation (docs) ▸**](https://docs.typesync.org)


header

# Documentation

Explore our comprehensive [documentation](https://docs.typesync.org) for detailed guides, usage examples, and additional resources. It covers everything from the basics to more advanced topics:

- [Introduction](https://docs.typesync.org/introduction): Learn what Typesync is and its core features.
- [Installation](https://docs.typesync.org/installation): Instructions on how to install the Typesync CLI.
- [Quickstart](https://docs.typesync.org/quickstart): Get up and running with Typesync quickly.
- [Upgrading](https://docs.typesync.org/upgrading): Guidelines on upgrading to the latest version of the CLI.
- [Types](https://docs.typesync.org/schema/types): Details on the types supported by Typesync’s type system.
- [validate-data](https://docs.typesync.org/cli/validate-data): Validate Firestore documents against your schema.

# License

This project is made available under the MIT License.