AWS DynamoDB Task Management
This application is a demonstration of the use of DynamoDB. It uses a custom ORM called DynamoRecord to access the database.
The app is created using Ruby framework Sinatra and the source code is available on GitHub. The layout is done using Twitter Bootstrap framework and is backed up by some jQuery for all the AJAXy stuff.
The ORM itself has a decent test coverage using RSpec and excercises basic functionality of DynamoDB. IDs are generated via the UUIDTools gem. Main idea was to get at least some of the ActiveRecord-ish API to DynamoDB using some basic metaprogramming.
Tasks have two attributes, name, which is strored in a string, and tags, which are split by
, and stored in an array.
If the application stops responding, refresh the page. There might be an issue with internet connectivity.
If you wish to run this applicatin yourself, you need to create a
tasks table via the AWS management console and add a primary key called
id. Then supply your AWS login credentials via environment variables
AMAZON_SECRET_ACCESS_KEY. On heroku, these can be set via
heroku config:add AMAZON_ACCESS_KEY_ID=ABCDEF etc.