dino-db-server

0.1.2 • Public • Published

Dino DB Server

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i dino-db-server

    Weekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    5.29 kB

    Total Files

    3

    Last publish

    Collaborators

    • imagineee