Hanami Router Get started in less than a minute.
Hanami Router
hanami-router
is a fast, full featured, Rack compatible, HTTP router for Ruby.
Get started in less than a minute.
# 1. $ gem install rack hanami-router
# 2. $ vim config.ru
require "hanami/router"
app = Hanami::Router.new do
get "/", to: ->(env) { [200, {}, ["Hello, World!"]}
end
# 3. $ rackup
Read more at: https://github.com/hanami/router#usage
Twitter Facebook