The snap-routes package

[Tags:library, mit]

Provides easy to use typesafe URLs for Snap Applications.


[Skip to Readme]

Properties

Versions 0.0.1
Dependencies base (>=4.7 && <4.9), blaze-builder, bytestring, containers, filepath, http-types, mime-types, path-pieces, random, snap, template-haskell, text [details]
License MIT
Author Anupam Jain
Maintainer ajnsit@gmail.com
Category Network
Source repository head: git clone http://github.com/ajnsit/snap-routes
Uploaded Mon May 16 17:29:58 UTC 2016 by AnupamJain
Distributions NixOS:0.0.1
Downloads 54 total (3 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-11-25 [all 3 reports]

Modules

  • Snap
    • Snap.Routes

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for snap-routes

Readme for snap-routes-0.0.1

Snap-Routes

Snap-routes provides typesafe routing for snap applications.

Features

Snap-routes adds the following features on top of Snap -

  • Typesafe URLs, including automatic boilerplate generation using TH. Including features such as -
    • Nested Routes
    • Subsites
    • Route Annotations
  • Seamlessly mix and match "unrouted" request handlers with typesafe routing.
  • Sitewide Master data which is passed to all handlers and can be used for persistent data (like DB connections)

Changelog

  • 0.0.1 : Intial release