rowdy-yesod

An EDSL for web application routes. https://github.com/parsonsmatt/rowdy#readme

Latest on Hackage:0.0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Matt Parsons
Maintained by parsonsmatt@gmail.com

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"

Changes

Changelog for rowdy

Unreleased changes

Depends on 3 packages:
Used by 1 package:
comments powered byDisqus