kemal/README.md

37 lines
622 B
Markdown
Raw Normal View History

2015-10-23 18:33:26 +00:00
# Kemal
2015-06-01 21:06:26 +00:00
2015-10-23 18:44:41 +00:00
[Sinatra](http://www.sinatrarb.com/) clone for [Crystal](http://www.crystal-lang.org).
2015-10-23 18:50:19 +00:00
Kemal is under heavy development and currently supports Crystal 0.9.0.
2015-10-23 19:43:33 +00:00
# Super Simple <3
```ruby
2015-10-24 13:48:47 +00:00
require "kemal"
2015-10-23 19:43:33 +00:00
get "/" do
"Hello World!"
end
```
Go to *http://localhost:3000*
2015-10-23 18:50:19 +00:00
# Installation
Add it to your ```shard.yml```
```yml
dependencies:
kemal:
github: sdogruyol/kemal
branch: master
```
2015-06-01 21:06:26 +00:00
## Status
Basic `get`, `put`, `post` and `head` routes can be matched, and request parameters can be obtained.
2015-10-23 19:51:39 +00:00
## Thanks
Thanks to Manas for their awesome work on [Frank](https://github.com/manastech/frank).