deepstreamio-storage-aws-dynamodb

AWS DynamoDB connector for deepstream.io


Keywords
deepstream.io
License
MIT
Install
npm install deepstreamio-storage-aws-dynamodb@0.1.2

Documentation

AWS DynamoDB connector for deepstream.io

NPM version Build Status Coveralls Status Dependency Status Downloads

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