Super simple CRUD for Sinatra
Sinatra’s Hat is a project that allows you to mount one of your models (DataMapper, ActiveRecord, or otherwise) as a RESTful service in one line. So if you have a Post model, you can expose it RESTfully like so: mount Post. There are also options for adding additional format parsers, response formatters, basic auth and more.
Comments
I should add that it’s totally built on Sinatra, in case the name wasn’t apparent enough.
Post a comment