Web microframework for Crystal
Installation
Add this to your application's shard.yml
:
dependencies:
satriani:
github: marceloboeira/satriani
Example
In the future it will be easier to create your app with a proper DSL, for now:
require "../src/satriani"
routes = [
Satriani::Route.new("/hello-world") do |request|
"hello-world"
end
]
Satriani::Application.new(routes).start
Contributing
Want to contribute? check this first.