Skip to content

ericgundrum/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

This repo updates the original from @pgte to work with newer dependencies including webpack 2, babel 6, PouchDB 6 and react 15.

Pre-requisites

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.

Download

Clone this repo:

$ git clone [email protected]:ericgundrum/pouch-websocket-sync-example.git
$ cd pouch-websocket-sync-example

Install dependencies:

$ yarn install

Start

Start web server:

$ node server

Start websocket server:

$ node websocket-server

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

License

ISC

About

Pouch Stream example

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.5%
  • HTML 0.5%