Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Example webservice project for WAI (Haskell Web Application Interface)
Haskell Racket

WAI Example

This mini webservice is built on top of WAI (Haskell Web Application Interface) to demonstrate a basic re-usable project layout.

Running in development mode


This will start the app behind wai-handler-devel and will reload changed code automatically before requests.

Running behind the Warp webserver

cabal install --only-dependencies     # fetch dependencies
cabal configure                       # prepare
cabal build                           # build
./dist/build/wai-example/wai-example  # run
Something went wrong with that request. Please try again.