https://github.com/pubkey/rxdb-mongodb-sync-example
Example Repo that runs the RxDB-MongoDB Replication https://rxdb.info/replication-mongodb.html
https://github.com/pubkey/rxdb-mongodb-sync-example
Last synced: 3 months ago
JSON representation
Example Repo that runs the RxDB-MongoDB Replication https://rxdb.info/replication-mongodb.html
- Host: GitHub
- URL: https://github.com/pubkey/rxdb-mongodb-sync-example
- Owner: pubkey
- License: apache-2.0
- Created: 2025-08-18T09:57:11.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-09-09T09:26:14.000Z (4 months ago)
- Last Synced: 2025-10-02T14:53:25.514Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RxDB MongoDB Sync Example
Example Repo that runs the RxDB-MongoDB Replication.
## Architecture
This repository spawns a docker container with MongoDB, an instance of [RxServer](https://rxdb.info/rx-server.html) and a frontend app with a simple todo-list.

## Prerequisites
- Ensure you have installed Docker
- Ensure you have installed Node.js in version 22 or newer
## Starting this Project
- Clone the repository
- Run `npm install`
- Run `npm run mongodb:start` (leave that console open)
- In a fresh console run `npm run mongodb:init` (this creates the MongoDB Database and Collection)
- In a fresh console run `npm run rx-server` (leave that console open)
- In a fresh console run `npm run frontend` (leave that console open)
- Open [http://localhost:8080/](http://localhost:8080/) in your browser. Use Incognito Tabs to simulate multiple devices.