seneca-dynamo-store
v0.0.3
Published
An Amazon DynamoDB database layer for Seneca MVP framework.
Downloads
3
Readme
seneca-dynamodb
seneca-dynamodb is an Amazon DynamoDB database driver for the Seneca MVP toolkit.
Usage:
var seneca = require('seneca');
var senecaDynamoDBStore = require('seneca-dynamodb');
var senecaConfig = {}
var senecaDynamoDBStoreOpts = {
accessKeyId: 'ACCESSKEYID',
secretAccessKey: 'SECRETACCESSKEY',
endpoint: 'ENDPOINT'
};
...
var si = seneca(senecaConfig);
si.use(senecaDynamoDBStore, senecaDynamoDBStoreOpts);
si.ready(function() {
var product = si.make('product');
...
});
...