feathers-pouchdb

Feathers PouchDB service.
Installation
npm install feathers-pouchdb --save
Documentation
Please refer to the feathers-pouchdb documentation for more details.
Complete Example
Here's an example of a Feathers server that uses feathers-pouchdb
.
const feathers = require('feathers');
const rest = require('feathers-rest');
const hooks = require('feathers-hooks');
const bodyParser = require('body-parser');
const errorHandler = require('feathers-errors/handler');
const plugin = require('feathers-pouchdb');
const app = feathers()
.configure(rest())
.configure(hooks())
.use(bodyParser.json())
.use(bodyParser.urlencoded({ extended: true }))
.use('/plugin', plugin())
.use(errorHandler());
app.listen(3030);
console.log('Feathers app started on 127.0.0.1:3030');
License
Copyright (c) 2016
Licensed under the MIT license.