Reusable Sinatra app, designed for APIs. It uses ActiveRecord as the ORM, and is configured to return JSON objects. Just fork it, and you're ready to deploy!