dino-db-server
v0.1.2
Published
a dino db extension that adds server support to a DB for access from external applications
Downloads
14
Maintainers
Readme
The Dino db server module is an extension that adds server support to a DB for access from external applications
Installing
# npm
npm install dino-db-server
// node only
const dinoServer = require('dino-db-server');
First check out how to start a database using the cross platform database module dino-db
Then check out on how to connect to the database with the JavaScript based client
Usage
//initialise databse in the app
var db = new db.databse({id: "food"})
//connect the db to the server on localhost:88/ (accessKey is an optional passoword)
var server = new dbServer(db, {accsesKey: 'password123', host: 'localhost', port: 88, path: '/'})
// the host and the port are the default values in this example.
Go to the docs page for more information on usage