Generic
Small Web Framework
Installation
Add this line to your application's Gemfile:
gem 'generic'
And then execute:
$ bundle
Or install it yourself as:
$ gem install generic
Usage
# myapp.rb
require 'generic'
class App < Generic::Boot
get '/' do
'Hello world!'
end
end
App.go!(3000)
Run Generic:
ruby myapp.rb
TODO
- Coffee, Sass parser
- Application Environment
- Small Active Records
Contributing
- Fork it ( https://github.com/Generic-Ruby/Generic/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