/pouch-websocket-sync-example

Pouch Stream example

Primary LanguageJavaScript

pouch-websocket-sync-example

Example "Todo-MVC" application of using pouch-websocket-sync together with React and Redux, keeping local database in sync with remote.

demo video

Pre-requisites

You must have Node.js installed.

Download

Clone this repo:

$ git clone git@github.com:pgte/pouch-websocket-sync-example.git
$ cd pouch-websocket-sync-example

Install dependencies:

$ npm install

Start

Start web server:

$ npm start

Start websocket server:

$ node websocket-server

Open http://localhost:3000 in your browsers.

License

ISC