Example "Todo-MVC" application of using pouch-websocket-sync
together with React and Redux, keeping local database in sync with remote.
This repo updates the original from @pgte to work with newer dependencies including webpack 2, babel 6, PouchDB 6 and react 15.
You must have Node.js installed.
This repo uses yarn to manage dependencies.
Using npm
may work, but it may install newer, incompatible packages.
The versions of packages known to work are recorded in yarn.lock
.
Clone this repo:
$ git clone [email protected]:ericgundrum/pouch-websocket-sync-example.git
$ cd pouch-websocket-sync-example
$ yarn install
Start web server:
$ node server
Start websocket server:
$ node websocket-server
Open http://localhost:3000 in your browsers.
ISC