The servant-server package

[Tags:bsd3, library, program, test]

A family of combinators for defining webservices APIs and serving them

You can learn about the basics in the tutorial.

Here is a runnable example, with comments, that defines a dummy API and implements a webserver that serves this API, using this package.

CHANGELOG


[Skip to Readme]

Properties

Versions 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.4.1, 0.4.4.2, 0.4.4.3, 0.4.4.4, 0.4.4.5, 0.4.4.6, 0.4.4.7, 0.5, 0.6, 0.6.1, 0.7, 0.7.1, 0.8, 0.8.1, 0.9, 0.9.0.1, 0.9.1, 0.9.1.1, 0.10
Change log CHANGELOG.md
Dependencies aeson (>=0.7 && <1.2), attoparsec (>=0.12 && <0.14), base (>=4.7 && <4.10), base-compat (==0.9.*), base64-bytestring (==1.0.*), bytestring (==0.10.*), containers (==0.5.*), exceptions (==0.8.*), filepath (>=1 && <1.5), http-api-data (==0.3.*), http-types (>=0.8 && <0.10), monad-control (>=1.0.0.4 && <1.1), mtl (>=2 && <2.3), network (==2.6.*), network-uri (==2.6.*), resourcet (>=1.1.6 && <1.2), safe (==0.3.*), servant (==0.10.*), servant-server, split (==0.2.*), string-conversions (>=0.3 && <0.5), system-filepath (==0.4.*), text (==1.2.*), transformers (>=0.3 && <0.6), transformers-base (>=0.4.4 && <0.5), transformers-compat (>=0.4 && <0.6), wai (>=3.0 && <3.3), wai-app-static (==3.1.*), warp (>=3.0 && <3.3), word8 (==0.1.*) [details]
License BSD3
Copyright 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
Author Servant Contributors
Maintainer haskell-servant-maintainers@googlegroups.com
Stability Unknown
Category Servant Web
Home page http://haskell-servant.readthedocs.org/
Bug tracker http://github.com/haskell-servant/servant/issues
Source repository head: git clone http://github.com/haskell-servant/servant.git
Uploaded Wed Feb 1 12:14:33 UTC 2017 by phadej
Distributions LTSHaskell:0.8.1, NixOS:0.10, Stackage:0.10, Tumbleweed:0.9.1.1
Downloads 4457 total (94 in the last 30 days)
Votes
3 []
Status Docs available [build log]
Last success reported on 2017-02-01 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for servant-server

Readme for servant-server-0.10

servant-server

servant

This library lets you implement an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you.

Getting started

We've written a tutorial guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.