- Start here https://docs.couchbase.com/sync-gateway/current/gs-sgw-prereqs.html
- Couchbase server
- Couchbase sync gateway https://docs.couchbase.com/sync-gateway/current/gs-sgw-install.html
- Web server like 'web server for chrome'
git clone https://github.com/itsmrajesh/pouchDB-sync-couchbase.git
cd pouchDB-sync-couchbase
npm install --save pouchdb
npm install --save @hoodie/store-client
npm install
- Setup couchbase bucket for syncing Click here
- Configure sync gateway https://docs.couchbase.com/sync-gateway/current/gs-sgw-config.html
- Update DB name and DB url in assest/index.js
- Open you webserver and point to index.html
For detailed explanation refer below links