A Seneca.js a seneca-auth plugin
Seneca-SQLite is a SQLite database driver for Seneca MVP toolkit This project was sponsored by nearForm.
npm install seneca-sqlite-store
When using seneca-auth the local auth must be initialized using:
var seneca = require('seneca');
var senecaSQLiteStore = require('seneca-sqlite');
var senecaConfig = {}
var senecaSQLiteStoreOpts = {
database:'/path/to/seneca_sqlite.db'
};
var si = seneca(senecaConfig);
si.use(senecaSQLiteStore, senecaSQLiteStoreOpts);
si.ready( function(){
var product = si.make('product');
...
});
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.