An open API service indexing awesome lists of open source software.

https://github.com/yldio/pouch-websocket-sync-example

Pouch Stream example
https://github.com/yldio/pouch-websocket-sync-example

Last synced: about 1 month ago
JSON representation

Pouch Stream example

Awesome Lists containing this project

README

        

# pouch-websocket-sync-example

Example "Todo-MVC" application of using [`pouch-websocket-sync`](https://github.com/pgte/pouch-websocket-sync#readme) together with React and Redux, keeping local database in sync with remote.

[demo video](http://www.youtube.com/watch?v=8jOF23dfvl4)

## Pre-requisites

You must have [Node.js](https://nodejs.org/en/) 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](http://localhost:3000) in your browsers.

## License

ISC