Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 1.88 KB

README.md

File metadata and controls

75 lines (53 loc) · 1.88 KB

Seneca

A Seneca.js a seneca-auth plugin

seneca-hana-store

npm version Dependency Status Gitter chat

seneca-hana-store is a SAP HANA database plugin for the Seneca MVP toolkit. The plugin is using the hdb driver.

Install

npm install seneca-hana-store

Using hana-store

var seneca = require('seneca');
var store = require('seneca-hana-store');

var config = {}
var storeopts = {
    host: '127.0.0.1',
    port: 30015,
    user: 'user',
    password: 'password',
    schema: 'schema'
};

...

var si = seneca(config)
si.use(store, storeopts)
si.ready(function() {
  var product = si.make('product')
  ...
})
...

Test

To run tests, simply use npm:

npm test

Contributing

The Senecajs org encourage open and safe participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.

  • Before contributing please review here

License

Copyright Marian Radulescu and other contributors 2016, Licensed under MIT.