Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Pouch Stream example

Notifications You must be signed in to change notification settings

yldio/pouch-websocket-sync-example

Repository files navigation

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 [email protected]: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