The quickwebapp package

[Tags:gpl, library]

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]

Properties

Versions 2.1.0.0, 2.1.1.0, 3.0.0.1, 3.0.0.2
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
Maintainer julien.tanguy@jhome.fr
Stability Unknown
Category Web
Home page https://github.com/jtanguy/quickwebapp
Bug tracker https://github.com/jtanguy/quickwebapp/issues
Source repository head: git clone https://github.com/jtanguy/quickwebapp -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
Distributions NixOS:3.0.0.2
Downloads 454 total (13 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-09-30 [all 3 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for quickwebapp

Readme for quickwebapp-3.0.0.2

quickwebapp

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

httpie

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

curl

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