NuoDB database bindings for Node.js
C++ JavaScript Python Makefile
Clone or download
VDuda Updating Travis Build recipients #26
Resolves PR #26

* Removed buck.robert.j@gmail.com
* Removed rbuck@nuodb.com
* Removed jgetto@nuodb.com
* Added vduda@nuodb.com
* Added drivers@nuodb.com
Latest commit c49b44c Sep 8, 2015

README.md

NuoDB - Node.js

Build Status

This module contains the community driven NuoDB Node.js driver built from native Google V8 C++ binding to let you easily integrate your Node.js web applications with NuoDB. This is a community driven driver with limited support and testing from NuoDB.

Requirements

Node.js -- one of the following

GNU Compiler Collection -- both of the following

  • make
  • g++

NuoDB -- one of the following

If you haven't done so already, Download and Install NuoDB.

Install

For distribution installations use:

$ npm install db-nuodb

Alternatively (e.g. if npm is not available), a tarball can be downloaded from GitHub and installed with node-gyp:

$ curl -L https://github.com/nuodb/node-db-nuodb/archive/master.tar.gz | tar xz
$ cd node-db-nuodb*
$ make install
$ # The folder node-db-nuodb* can be safely removed now.

Example

Here is basic use of the driver that includes connecting to a NuoDB server, then printing the host name and server version:

var nuodb = require('db-nuodb');
new nuodb.Database({
    hostname: 'localhost',
    user: 'dba',
    password: 'goalie',
    database: 'test',
    schema: 'hockey'
}).on('error', function(error) {
    console.log('ERROR: ' + error);
}).on('ready', function(server) {
    console.log('Connected to ' + server.hostname + ' (' + server.version + ')');
}).connect();

For further information on getting started with NuoDB, please refer to the Documentation.

License

NuoDB License