0.0.11 • Published 4 years ago

pouchdb-express-router v0.0.11

Weekly downloads
18
License
Apache v2
Repository
github
Last release
4 years ago

pouchdb-express-router

An Express submodule with a CouchDB style REST interface to PouchDB.

Introduction

pouchdb-express-router is an expressjs routing module that provides the minimal API to allow PouchDB instance to replicate over HTTP, it is designed to be mounted into expressjs web application to prove the an endpoint for PouchDB applications to sync with.

The code is primarily forked from https://github.com/pouchdb/express-pouchdb to help users provide a minimal install.

Example Usage

Here's a sample Express app, which we'll name app.js.

var express = require('express');
var app = express();
var PouchDB = require('pouchdb');

app.use('/db', require('pouchdb-express-router')(PouchDB));

app.listen(3000);
0.0.11

4 years ago

0.0.10

6 years ago

0.0.9

8 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago