Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.59 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.59 KB

SenecaLogo

seneca-couchdb-store

npm version Dependency Status Gitter chat

Seneca-CouchDB is a CouchDB storage driver for Seneca MVP toolkit

Using seneca-couchdb-store:

var seneca              = require('seneca');
var senecaCouchDBStore  = require('seneca-couchdb');

var senecaConfig = {}
var senecaCouchDBStoreOpts = {
    host: 'localhost',
    port: 12000
};

...

var si = seneca(senecaConfig);
si.use(senecaCouchDBStore, senecaCouchDBStoreOpts);
si.ready( function(){
    var product = si.make('product');
    ...
});
...

Install

npm install seneca-couchdb-store

Test

To run tests, simply use npm:

npm run test

Contributing

The Senecajs org encourage open participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.

License

Copyright Marius Ursache and other contributors 2016, Licensed under MIT.