yam: A wrapper of servant

[ bsd3, deprecated, library, web ] [ Propose Tags ]
Deprecated. in favor of boots-app

A out-of-the-box wrapper of servant.


[Skip to Readme]
Versions [faq] 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.5.14, 0.5.15, 0.5.16, 0.5.17, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7 (info)
Dependencies aeson (>=1.4.2.0 && <1.5), base (>=4.10 && <5), base16-bytestring (>=0.1.1.6 && <0.2), binary (>=0.8.6.0 && <0.9), bytestring (>=0.10.8.2 && <0.11), data-default (>=0.7.1.1 && <0.8), exceptions (>=0.10.2 && <0.11), fast-logger (>=2.4.15 && <2.5), http-client (>=0.6.4 && <0.7), http-types (>=0.12.3 && <0.13), lens (>=4.17.1 && <4.18), menshen (>=0.0.3 && <0.1), monad-logger (>=0.3.30 && <0.4), mtl (>=2.2.2 && <2.3), mwc-random (>=0.14.0.0 && <0.15), reflection (>=2.1.4 && <2.2), salak (>=0.2.9.3 && <0.3), scientific (>=0.3.6.2 && <0.4), servant-client (==0.16.*), servant-server (==0.16.*), servant-swagger (>=1.1.7.1 && <1.2), servant-swagger-ui (>=0.3.3.3.22.2 && <0.4), swagger2 (==2.4.*), text (>=1.2.3.1 && <1.3), transformers (>=0.5.6.2 && <0.6), unliftio-core (>=0.1.2.0 && <0.2), unordered-containers (>=0.2.10.0 && <0.3), vault (>=0.3.1.2 && <0.4), vector (>=0.12.0.3 && <0.13), wai (>=3.2.2 && <3.3), warp (>=3.2.27 && <3.3) [details]
License BSD-3-Clause
Copyright (c) 2018 Daniel YU
Author Daniel YU
Maintainer Daniel YU <leptonyu@gmail.com>
Category Web
Home page https://github.com/leptonyu/yam#readme
Uploaded by leptonyu at Fri May 31 06:15:25 UTC 2019
Distributions LTSHaskell:0.5.17, NixOS:0.7, Stackage:0.6.3
Downloads 2734 total (209 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yam-0.6.2

[back to package description]

yam

| package name | version | |-|-| | yam |Hackage| | yam-datasource |Hackage| | yam-redis |Hackage|

stackage LTS package stackage Nightly package Build Status

Servant based Web Wrapper for Production in Haskell.


import           Salak.Yaml
import           Servant
import           Yam
import           Data.Version

type API = "hello" :> Get '[PlainText] Text

service :: ServerT API AppSimple
service = return "world"

main = start "app" YAML (makeVersion []) (return emptyAM) (Proxy @API) (return service)