rowdy-yesod: An EDSL for web application routes.

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.1.1 (info)
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 2020-11-21T22:55:36Z
Distributions NixOS:0.0.1.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 965 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-11-21 [all 1 reports]

Readme for rowdy-yesod-0.0.1.1

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