This is an example usage of RxDB with with the graphql-replication-plugin. It represents a simple hero-list which is two-way-replicated with the server.
- clone the whole RxDB-repo
- go into project
cd rxdb - run
npm install(you may need to runnpm install --legacy-peer-deps) - go to this folder
cd examples/graphql - run
npm run preinstall && npm install - run
npm start - Open http://127.0.0.1:8888/ IMPORTANT: do not use localhost
You can change the storage and disable sync via url parameter, e.g.: