This waigo plugin provides a database connection and corresponding model layer for working with RethinkDB databases.
Models:
src/models/acl
src/models/activity
src/models/cron
src/models/user
Database connections:
src/support/db/rethinkdb
$ npm install waigo-plugin-rethinkdb
Set your main
database to be a RethinkDB db:
/* file: src/config/base.js */
module.exports = function(config) {
...
config.db = {
main: {
type: 'rethinkdb',
serverConfig: {
db: 'waigo',
servers: [
{
host: '127.0.0.1',
port: 28015,
}
],
}
}
};
...
}
## Development
To run the tests:
$ npm install
$ npm test
MIT - see LICENSE.md