ClientDB is an open-source in-memory database for enabling real-time web apps. Build fast, scalable apps that feel silky smooth for users.
Install clientdb with yarn
yarn add @clientdb/core
Clientdb is a suite of components that enable real-time web apps. Most of them can be used independently, but they're used together to cover all the aspects of building real-time applications.
In-memory database for storing, modifying, and querying data. By itself, it is not synchronized with any server and it is not persisting any data offline.
Work in progress (clientdb#10)
Sync engine consists of 2 parts:
Server - HTTP server with a socket that can connect to any database and can keep the in-memory database in sync with the server according to defined access permissions.
Client - Wrapper on top of an in-memory database that connects to sync-server and can keep the in-memory database in sync with the server.
Read more about sync engine - engine/README.md
Set of dev-toolings for generating TypeScript types and synced client database with all relations, validations, etc. included.
The entire codebase is fully written in Typescript.
Clone the project
git clone git@github.com:acapela/clientdb.git
Install dependencies
yarn install
Build the client-side db
yarn core build
To run tests, run the following command while in /core directory
yarn test
This project is used by the following companies: