AWS DynamoDB connector for deepstream.io
AWS DynamoDB connector for deepstream.io
Install
npm i -S deepstreamio-storage-aws-dynamodb
Usage
First you must set up your AWS credentials via one of these methods. Then:
import DynamoConnector from 'deepstreamio-storage-aws-dynamodb';
server.set('storage', new DynamoConnector({
region: 'us-east-1',
table: 'deepstream'
}));
Developing
This project uses the RISE yeoman generator. For development workflow,
see the workflow guide. Cheatsheet:
- Add code to
src/index.js
and tests to test/index.js
. - Lint, build and test a project with
npm run build
. - Build and watch changes in
src/
with npm run watch
- Run only tests with
npm run test
. - Check coverage with
npm run coverage
. - Generate a TOC for the
CHANGELOG
with npm run toc
- Deploy to a remote origin with
npm run deploy
. - Bump version and publish a package with
npm run major
or minor/patch