Go to file
Sdogruyol 753c910989 Removed redundant code from hello_world 2015-10-24 22:57:40 +03:00
samples Removed redundant code from hello_world 2015-10-24 22:57:40 +03:00
spec Renamed spec 2015-10-24 19:17:24 +03:00
src Use macro to generate DSL and support delete,patch verbs 2015-10-24 22:20:39 +03:00
.gitignore Initial commit 2014-06-11 20:41:02 -03:00
README.md Use macro to generate DSL and support delete,patch verbs 2015-10-24 22:20:39 +03:00
shard.yml Added shard.yml 2015-10-23 21:01:30 +03:00

README.md

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, patch, delete and head routes can be matched, and request parameters can be obtained.

Thanks

Thanks to Manas for their awesome work on Frank.