About
GitDocumentDB is a TypeScript ready offline-first database that synchronizes with Git.
Use GitDocumentDB to ...
๐ฉ Develop offline-capable applications using Git.
๐ Manage JSON documents in Git repository by CRUD and collection APIs.
๐ Synchronize automatically with remote repositories.
ย ย ย ย ย (No need to resolve conflicts manually!)
๐ Integrate CI/CD pipelines through GitHub.
๐ช Get revision history of a document.
#
Pros and consGitDocumentDB is compatible with Git that brings us distributed multi-primary databases and efficient CI/CD. It automates Git synchronization workflows by resolving transactional and consistency conflicts, besides revision conflicts. Typical synchronization patterns and diff-and-patch strategies solve them. Accessible CRUD and collection APIs for working with JSON reduce tasks. JavaScript/TypeScript API for Node.js and browser easily enables multi-platform.
The throughput of GitDocumentDB is about the same as Git. It is not as fast as typical databases. Storage size grows when managing many revisions of a document. These are a trade-off for Git features.
#
Next steps#
Download- Install from npm.
#
Tutorial- Go to Tutorial to learn GitDDB step by step.
#
Examples- Clone the GitDocumentDB repository, and run examples in examples directory.