0.1.2 • Published 10 years ago
deepstreamio-storage-aws-dynamodb v0.1.2
AWS DynamoDB connector for deepstream.io
AWS DynamoDB connector for deepstream.io
Install
npm i -S deepstreamio-storage-aws-dynamodbUsage
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.jsand tests totest/index.js. - Lint, build and test a project with
npm run build. - Build and watch changes in
src/withnpm run watch - Run only tests with
npm run test. - Check coverage with
npm run coverage. - Generate a TOC for the
CHANGELOGwithnpm run toc - Deploy to a remote origin with
npm run deploy. - Bump version and publish a package with
npm run majororminor/patch