ark-database
Database-Plugin for ark our application server of locator-app.com
Usage
npm install ark-database
to install the plugin (use the option -S
to include it in your project)
var Database = ; // import it to your code var db = 'alice'; // set up database // example callsdb; db; db;
Note: We are slowly changing from using callbacks to promises (issue #35). When in doubt look up the source code.
Server administration
How to configure or maintain the actual database on our server, look here: Server-Administration
Tests
Tests can be run with npm test
or make test
, make test-cov
and test-cov-html
.
Note: npm test
points to make test-cov
. This is inspired from many hapi plugins.