quickwebapp: A quick webapp generator for any file processing tool

[ 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]
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.0-only
Author Julien Tanguy
Maintainer julien.tanguy@jhome.fr
Revised Revision 1 made by jtanguy at Fri Sep 4 16:11:38 UTC 2015
Category Web
Home page https://github.com/jtanguy/quickwebapp
Bug tracker https://github.com/jtanguy/quickwebapp/issues
Source repo head: git clone https://github.com/jtanguy/quickwebapp -b master
Uploaded by jtanguy at Fri Sep 4 16:09:19 UTC 2015
Distributions NixOS:3.0.0.2
Downloads 1330 total (17 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

Modules

[Index]

Downloads

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-3.0.0.2

[back to package description]

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>"