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 (>=1.4.1.0 && <1.6), base (>=4.9 && <4.15), base-compat (>=0.10.5 && <0.12), base64-bytestring (>=1.0.0.1 && <1.2), bytestring (>=0.10.8.1 && <0.11), containers (>=0.5.7.1 && <0.7), exceptions (>=0.10.0 && <0.11), filepath (>=1.4.1.1 && <1.5), http-api-data (>=0.4.1 && <0.4.3), http-media (>=0.7.1.3 && <0.9), http-types (>=0.12.2 && <0.13), monad-control (>=1.0.2.3 && <1.1), mtl (>=2.2.2 && <2.3), network (>=2.8 && <3.2), network-uri (>=2.6.1.0 && <2.8), resourcet (>=1.2.2 && <1.3), servant (>=0.18.2 && <0.18.3), servant-server, sop-core (>=0.4.0.0 && <0.6), string-conversions (>=0.4.0.1 && <0.5), tagged (>=0.8.6 && <0.9), text (>=1.2.3.0 && <1.3), transformers (>=0.5.2.0 && <0.6), transformers-base (>=0.4.5.2 && <0.5), wai (>=3.2.1.2 && <3.3), wai-app-static (>=3.1.6.2 && <3.2), warp (>=3.2.25 && <3.4), word8 (>=0.1.3 && <0.2) [details]
License BSD-3-Clause
Copyright 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
Author Servant Contributors
Maintainer haskell-servant-maintainers@googlegroups.com
Revised Revision 1 made by maksbotan at 2021-05-14T09:32:19Z
Category Servant, Web
Home page http://docs.servant.dev/
Bug tracker http://github.com/haskell-servant/servant/issues
Source repo head: git clone http://github.com/haskell-servant/servant.git
Uploaded by maksbotan at 2020-11-22T14:55:10Z
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 131 direct, 192 indirect [details]
Executables greet
Downloads 70539 total (385 in the last 30 days)
Rating 2.75 (votes: 10) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-11-22 [all 1 reports]

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