shard-kemal/README.md
2015-10-26 13:28:23 +02:00

805 B

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.