servant-snap

A family of combinators for defining webservices APIs and serving them

http://haskell-servant.github.io/

Latest on Hackage:0.9.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 Alp Mestanogullari, Sönke Hahn, Julian K. Arni, Greg Hale

Interpret a Servant API as a Snap server, using any Snaplets you like.

You can learn about the basics of servant in the Servant tutorial, and about the basics of Snap at the Snaplets tutorial

Here is a runnable example, with comments, that defines a dummy API and implements a webserver that serves this API, using this package. One route delegates to the Auth snaplet, another delegates to Heist.

CHANGELOG