rowdy: An EDSL for web application routes.

[ bsd3, library, web ] [ Propose Tags ]

Please see the README on Github at https://github.com/parsonsmatt/rowdy#readme


[Skip to Readme]
Versions [faq] 0.0.1.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), containers, dlist, mtl [details]
License BSD-3-Clause
Copyright 2018 Matt Parsons
Author Matt Parsons
Maintainer parsonsmatt@gmail.com
Category Web
Home page https://github.com/parsonsmatt/rowdy#readme
Bug tracker https://github.com/parsonsmatt/rowdy/issues
Source repo head: git clone https://github.com/parsonsmatt/rowdy
Uploaded by parsonsmatt at Mon Apr 2 02:49:58 UTC 2018
Distributions NixOS:0.0.1.0
Downloads 224 total (21 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-04-14 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for rowdy-0.0.1.0

[back to package description]

rowdy

The core routing DSL for rowdy. Check the GitHub repo for more information and examples.

-- Yesod-style:
routes = do
    get "RootR"
    "users" // do
        resource "UserIndexR" [get, post]
        capture @Int // resource "UserR" [get, put]
    "admin" // "Admin" /: do
        get "PanelR" ! "admin" ! "cool"
        post "PanelR" ! "admin"
    "other-attr" // "safe" /! do
        get "SafeR"
        put "SafeR"