The servant-server package

[ Tags: bsd3, library, program, servant-web ] [ Propose Tags ]

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, 0.11
Change log CHANGELOG.md
Dependencies aeson (>=0.7 && <1.3), attoparsec (>=0.12 && <0.14), base (>=4.7 && <4.11), 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.11.*), servant-server, split (==0.2.*), string-conversions (>=0.3 && <0.5), system-filepath (==0.4.*), tagged (>=0.7.3 && <0.9), 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
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 May 24 07:25:10 UTC 2017 by phadej
Updated Wed Jun 28 10:02:23 UTC 2017 by phadej to revision 1
Distributions Arch:0.11, LTSHaskell:0.11, NixOS:0.11, Stackage:0.11, Tumbleweed:0.9.1.1
Executables greet
Downloads 9234 total (440 in the last 30 days)
Rating 2.5 (4 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-05-24 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for servant-server-0.11

[back to package description]

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.