webapp: Haskell web app framework based on WAI & Warp

[ library, mit, web ] [ Propose Tags ]


[Skip to Readme]


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 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 repo head: git clone git://github.com/fhsjaagshs/webapp.git
Uploaded by natesymer at 2017-04-14T13:13:34Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7467 total (40 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-04-14 [all 2 reports]

Readme for webapp-0.6.1

[back to package description]

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.
  1. 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.
  1. Web.App also provides command line options for controlling the HTTP server.
  • It also provides