The webapp package

[Tags:library, mit, test]

See README.md


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1 (info)
Change log CHANGELOG.md
Dependencies array, base (<5.0), blaze-builder, bytestring, case-insensitive, http-types, network, optparse-applicative, regex-base, regex-pcre-builtin, stm, text, transformers, unix, vault, wai, warp, warp-tls [details]
License MIT
Copyright (c) 2015 Nathaniel Symer
Author Nathaniel Symer <nate@symer.io>
Maintainer Nathaniel Symer <nate@symer.io>
Category Web
Home page https://github.com/natesymer/webapp
Bug tracker https://github.com/natesymer/webapp/issues
Source repository head: git clone git://github.com/fhsjaagshs/webapp.git
Uploaded Fri Apr 14 13:13:34 UTC 2017 by natesymer
Distributions NixOS:0.6.1
Downloads 798 total (30 in the last 30 days)
Votes
1 []
Status Docs not available [build log]
Last success reported on 2017-04-14 [all 2 reports]
Hackage Matrix CI

Modules

  • Web
    • Web.App
      • Web.App.HTTP
      • Web.App.Main
      • Web.App.Parameter
      • Web.App.Path
      • Web.App.RouteT
      • Web.App.State
      • Web.App.Stream

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for webapp

Readme for webapp-0.6.1

Web.App - WAI web framework

Build Status

Web.App is a general, minimalist Haskell web framework. See Haddock documentation and example.hs.

Usage notes

  1. Web.App can either be ran standalone (i.e. look ma, no nginx!) or behind other server programs.
    • To bind to privileged ports, your program must be executable as root. Privileges are resigned after the port is bound.
    • Web.App uses Warp under the hood to serve a WAI app based on provided routes.
    • SSL & HTTP2 are supported.
  2. Web.App provides a function called webappMain (as well as a series of other similarly named functions) that start your app.
    • Your program's main function should finish with a call to one of them.
  3. Web.App also provides command line options for controlling the HTTP server.
    • It also provides