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]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Versions [RSS] 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, 0.14, 0.14.1, 0.15, 0.16, 0.16.1, 0.16.2, 0.17, 0.18, 0.18.1, 0.18.2, 0.18.3, 0.19, 0.19.1, 0.19.2, 0.20
Change log CHANGELOG.md
Dependencies aeson (>=0.7 && <1.2), attoparsec (>=0.12 && <0.14), base (>=4.7 && <4.10), base-compat (>=0.9 && <0.10), base64-bytestring (>=1.0 && <1.1), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), filepath (>=1 && <1.5), http-api-data (>=0.3 && <0.4), http-types (>=0.8 && <0.10), mtl (>=2 && <2.3), network (>=2.6 && <2.7), network-uri (>=2.6 && <2.7), safe (>=0.3 && <0.4), servant (>=0.9 && <0.10), servant-server, split (>=0.2 && <0.3), string-conversions (>=0.3 && <0.5), system-filepath (>=0.4 && <0.5), text (>=1.2 && <1.3), transformers (>=0.3 && <0.6), transformers-compat (>=0.4 && <0.6), wai (>=3.0 && <3.3), wai-app-static (>=3.1 && <3.2), warp (>=3.0 && <3.3), word8 (>=0.1 && <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
Revised Revision 1 made by phadej at 2017-01-20T21:06:48Z
Category 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 jkarni at 2016-10-27T11:38:27Z
Distributions Arch:0.20, Debian:0.16.2, Fedora:0.19.2, LTSHaskell:0.20, NixOS:0.20, Stackage:0.20, openSUSE:0.20
Reverse Dependencies 134 direct, 192 indirect [details]
Executables greet
Downloads 70664 total (401 in the last 30 days)
Rating 2.75 (votes: 10) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for servant-server-0.9.1.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.