Seneca-CouchDB is a CouchDB storage driver for Seneca MVP toolkit
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');
...
});
...
npm install seneca-couchdb-store
To run tests, simply use npm:
npm run test
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.
Copyright Marius Ursache and other contributors 2016, Licensed under MIT.