Tausendsassa is minimal web framework in the spirit of Sinatra written in Halunke.
A very simple app would look like:
('HelloWorld = [
["GET /hello/:world" { |'params 'env|
[
200
@["ContentType" "text/plain"]
[
("Hello " + (params @ "world" else ""))
"\n"
("Say what? " + (params @ "say" else "Nothing to say!"))
]
]
}]
])
(web run (Tausendsassa with HelloWorld) on "0.0.0.0:3000")
The project is available as open source under the terms of the MIT License.
Everyone interacting in the Halunke project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.