Skip to content

Simple role-based access control use with dynamoDB

Notifications You must be signed in to change notification settings

hinxcode/dynamo-rbac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamo-rbac

Local DB

Setting up a dynamoDB-Local for the purpose of developing with local database.

Installation

$ npm install

Usage

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'
})

Build with gulp

$ npm run build

Unit testing

$ npm test

License

MIT

About

Simple role-based access control use with dynamoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published