rowdy-yesod: 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), rowdy, yesod-core [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:50:05 UTC 2018
Distributions NixOS:0.0.1.0
Downloads 202 total (9 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-yesod-0.0.1.0

[back to package description]

rowdy-yesod

An implementation of the rowdy web route DSL for the Yesod web framework. Check the GitHub repo for more information and examples.

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"