No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tests
.gitignore
.jshintrc
LICENSE
README.md
circle.yml
gulpfile.js
package.json

README.md

Zorba Node Binding

Circle CI

Install

$npm install zorba-nodejs

Usage

var ZorbaAPI = require('zorba-nodejs').ZorbaAPI;

var api = new ZorbaAPI('http://localhost/v1');
api.evaluate({
    query: '1 + 1'
}).then(function(result){
    console.log(result.body);
});

An endpoint for testing is available at http://zorba-server-dev-f13fb543-1.wcandillon.cont.tutum.io:81/v1. It is based on the image docker image at https://hub.docker.com/r/wcandillon/zorba-server-dev/

var api = new ZorbaAPI('http://zorba-server-dev-f13fb543-1.wcandillon.cont.tutum.io:81/v1');