Find a file
2015-10-24 19:20:49 +03:00
samples Added json_api sample 2015-10-23 22:25:46 +03:00
spec Renamed spec 2015-10-24 19:17:24 +03:00
src Removed redundant variable 2015-10-24 19:09:56 +03:00
.gitignore Initial commit 2014-06-11 20:41:02 -03:00
README.md Added run instruction 2015-10-24 19:20:49 +03:00
shard.yml Added shard.yml 2015-10-23 21:01:30 +03:00

Kemal

Sinatra clone for Crystal.

Kemal is under heavy development and currently supports Crystal 0.9.0.

Super Simple <3

require "kemal"

get "/" do
  "Hello World!"
end

Build and run!

crystal build --release src/kemal_sample.cr
./kemal_sample

Go to http://localhost:3000

Check samples for more.

Installation

Add it to your shard.yml

dependencies:
  kemal:
    github: sdogruyol/kemal
    branch: master

Status

Basic get, put, post and head routes can be matched, and request parameters can be obtained.

Thanks

Thanks to Manas for their awesome work on Frank.