Setting up a dynamoDB-Local for the purpose of developing with local database.
$ npm install
const RBAC = require('dynamo-rbac')
RBAC.connectDB({
region: 'us-west-2',
endpoint: 'http://localhost:8000',
apiVersion: '2012-08-10'
})
RBAC.setSchema({
user: 'UserTable',
role: 'RoleTable'
})
$ npm run build
$ npm test
MIT