A fast, local-first, reactive NoSQL database for JavaScript applications with realtime sync capabilities.
RxDB is a reactive, local-first NoSQL database for JavaScript applications. It allows developers to subscribe to data changes in realtime, making it ideal for building responsive UIs and collaborative features. The database supports flexible storage backends and seamless synchronization with various backend services.
JavaScript developers building realtime, offline-capable, or collaborative applications across web, mobile, and desktop platforms.
Developers choose RxDB for its powerful reactivity model, local-first architecture, and extensive plugin ecosystem that simplifies realtime data synchronization without locking them into a specific backend.
A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows subscribing to queries, documents, or individual fields for realtime UI updates, enabling automatic synchronization without manual refreshes, as shown in the quickstart example.
Supports swapping storage engines like IndexedDB, SQLite, and LocalStorage for different runtimes, facilitating code reuse across browsers, Node.js, and mobile platforms, per the storage layer documentation.
Provides battle-tested replication plugins for backends including GraphQL, CouchDB, and Websocket, simplifying realtime collaboration features without locking into a specific cloud service.
Runs in diverse environments like browsers, React Native, Electron, and Flutter, making it a versatile choice for building applications with shared database logic.
Setting up RxDB requires managing multiple plugins for storage, replication, and features, which adds initial development overhead and a steeper learning curve.
Dependencies on RxJS and other libraries significantly increase JavaScript bundle size, potentially affecting load times and performance in lightweight applications.
Maintaining reactive subscriptions for large datasets can lead to increased memory usage and computational costs, which might not scale well for all use cases.
rxdb is an open-source alternative to the following products:
Firestore is a flexible, scalable NoSQL cloud database from Firebase for storing and syncing data in real-time across mobile and web apps.
CouchDB is a NoSQL database that uses JSON for documents, JavaScript for MapReduce queries, and HTTP for an API, featuring built-in replication and synchronization capabilities.
Firebase Realtime Database is a cloud-hosted NoSQL database within Firebase that stores and syncs data in real-time across connected clients.