The quickwebapp package

[ Tags: gpl, library, web ] [ Propose Tags ]

A quick-and-dirty api generator, inspired from the interact function from Prelude.

interactWeb reverse

This creates a server listening on port 8080, or environment value PORT.

[Skip to Readme]


Change log Changelog
Dependencies aeson, base (==4.*), bytestring, containers, either, lucid, servant, servant-lucid, servant-server, text, warp [details]
License GPL-3
Author Julien Tanguy
Category Web
Home page
Bug tracker
Source repository head: git clone -b master
Uploaded Fri Sep 4 16:09:19 UTC 2015 by jtanguy
Updated Fri Sep 4 16:11:38 UTC 2015 by jtanguy to revision 1   [What is this?]
Distributions NixOS:
Downloads 646 total (105 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-30 [all 3 reports]
Hackage Matrix CI




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for quickwebapp-

[back to package description]


A quick-and-dirty api generator, for any function a -> Either String b.

It is inspired from the interact function from the Prelude.

interactWeb (reverse :: String -> String)

This creates a server listening on port 8080. You can change the port with the PORT env variable.

You can query it via a browser at http://localhost:8080 or by using curl/httpie


http :8080 input="<your input string>"


curl localhost:8080 -d input="<your input string>"