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 [faq] 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
Change log CHANGELOG.md
Dependencies aeson (>=0.7 && <0.10), attoparsec (>=0.12 && <0.14), base (>=4.7 && <5), bytestring (==0.10.*), either (>=4.3 && <4.5), filepath (>=1), http-types (==0.8.*), mmorph (>=1), mtl (==2.*), network-uri (==2.6.*), safe (==0.3.*), servant (==0.4.*), servant-server, split (==0.2.*), string-conversions (>=0.3 && <0.5), system-filepath (==0.4.*), text (==1.2.*), transformers (>=0.3 && <0.5), wai (==3.0.*), wai-app-static (>=3.0 && <3.2), warp (==3.0.*) [details]
License BSD-3-Clause
Copyright 2014 Zalora South East Asia Pte Ltd
Author Alp Mestanogullari, Sönke Hahn, Julian K. Arni
Maintainer alpmestan@gmail.com
Category Web
Home page http://haskell-servant.github.io/
Bug tracker http://github.com/haskell-servant/servant/issues
Source repo head: git clone http://github.com/haskell-servant/servant-server.git
Uploaded by jkarni at 2015-06-09T10:43:00Z
Distributions Arch:0.18.1, Debian:0.14.1, Fedora:0.16.2, LTSHaskell:0.15, NixOS:0.18, Stackage:0.16
Executables greet
Downloads 44411 total (1775 in the last 30 days)
Rating 2.75 (votes: 7) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-06-11 [all 4 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for servant-server-0.4.2

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

Repositories and Haddocks