servant-server: A family of combinators for defining webservices APIs and serving them

[ 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]
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, 0.11.0.1, 0.12, 0.13, 0.13.0.1
Change log CHANGELOG.md
Dependencies aeson (>=1.2.3.0 && <1.4), attoparsec (>=0.13.2.0 && <0.14), base (>=4.7 && <4.12), base-compat (>=0.9.3 && <0.11), base64-bytestring (>=1.0.0.1 && <1.1), bytestring (>=0.10.4.0 && <0.11), containers (>=0.5.5.1 && <0.6), exceptions (>=0.8.3 && <0.11), filepath (>=1.3.0.2 && <1.5), http-api-data (>=0.3.7.1 && <0.4), http-media (>=0.7.0 && <0.8), http-types (==0.12.*), monad-control (>=1.0.0.4 && <1.1), mtl (>=2.1 && <2.3), network (>=2.6.3.2 && <2.7), network-uri (>=2.6.1.0 && <2.7), resourcet (>=1.1.9 && <1.3), safe (>=0.3.15 && <0.4), semigroups (>=0.18.3 && <0.19), servant (==0.13.*), servant-server, split (>=0.2.3.2 && <0.3), string-conversions (>=0.4.0.1 && <0.5), system-filepath (==0.4.*), tagged (>=0.8.5 && <0.9), text (>=1.2.3.0 && <1.3), transformers (>=0.3.0.0 && <0.6), transformers-base (>=0.4.4 && <0.5), transformers-compat (>=0.5.1 && <0.7), wai (>=3.2.1.1 && <3.3), wai-app-static (>=3.1.6.1 && <3.2), warp (>=3.2.13 && <3.3), word8 (>=0.1.3 && <0.2) [details]
License BSD-3-Clause
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 repo head: git clone http://github.com/haskell-servant/servant.git
Uploaded by phadej at Wed Apr 11 08:12:52 UTC 2018
Distributions Arch:0.12, Fedora:0.12, LTSHaskell:0.13.0.1, NixOS:0.13, Stackage:0.13.0.1, openSUSE:0.13
Executables greet
Downloads 18231 total (202 in the last 30 days)
Rating 2.5 (votes: 5) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-13 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for servant-server-0.13.0.1

[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.