Find a file
Serdar Dogruyol 8a0f9dffff Merge pull request #2 from askn/askn-patch-1
Update README.md
2015-10-26 13:37:09 +02: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 Update README.md 2015-10-26 13:28:23 +02: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: kemalcr/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.