SweetSinatra
Currently under construction. We are going to debug and leave this gem in a functional basic stage soon. We built SweetSinatra in 8 hours and won the Best Back-end category at the August DBC Hackaton.
Installation
Add this line to your application's Gemfile:
gem 'sweetsinatra'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sweetsinatra
Usage
Create a new sinatra app project
$ sweetsinatra new APP_NAME
Create a scaffold
$ sweetsinatra scaffold TABLE_NAME FIELD_NAME DATA_TYPE *
*create as many fields you need by repeating the "FIELD_NAME DATA_TYPE" command
Contributing
- Fork it ( https://github.com/[my-github-username]/SweetSinatra/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request