Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 863 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 863 Bytes

Tausendsassa

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")

License

The project is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Halunke project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.