Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by Mongoose)
$ npm install dynamoose
Set AWS configurations in enviroment varable:
export AWS_ACCESS_KEY_ID="Your AWS Access Key ID"export AWS_SECRET_ACCESS_KEY="Your AWS Secret Access Key"export AWS_REGION="us-east-1"
Here's a simple example:
var dynamoose = ;// Create cat model with default optionsvar Cat = dynamoose;// Create a new cat objectvar garfield = id: 666 name: 'Garfield';// Save to DynamoDBgarfield;// Lookup in DynamoDBCat;
Help improve Dynamoose. I need all the help I can get to improve test coverage and the documentation. If you would like to help please look at the
/test folder to add tests to the project along with
/docs/_examples folders to help write better documentation and examples for Dynamoose. You can create a PR (pull request) to get your changes merged in. Thank you very much!!
The Dynamoose ChangeLog can be found in the CHANGELOG.md file.
The Dynamoose Roadmap can be found in the ROADMAP.md file. Help is always appreciated on these items. If you are able to help submit a PR so we can review and improve Dynamoose!