on 75ea91c help sign in
servant/doc/examples.md
37 lines 1.5 kB history raw
1# Example Projects
3- **[example-servant-minimal](https://github.com/haskell-servant/example-servant-minimal)**:
5 A minimal example for a web server written using **servant-server**,
6 including a test-suite using [**hspec**](http://hspec.github.io/) and
7 **servant-client**.
10- **[stack-templates](https://github.com/commercialhaskell/stack-templates)**
12 Repository for templates for haskell projects, including some templates using
13 **servant**. These templates can be used with `stack new`.
15- **[custom-monad](https://github.com/themoritz/diener)**:
17 A custom monad that can replace `IO` in servant applications. It adds among
18 other things logging functionality and a reader monad (for database connections).
19 A full usage example of servant/diener is also provided.
22- **[example-servant-elm](https://github.com/haskell-servant/example-servant-elm)**:
24 An example for a project consisting of
26 - a backend web server written using **servant-server**,
27 - a frontend written in [elm](http://elm-lang.org/) using
28 [servant-elm](https://github.com/mattjbray/servant-elm) to generate client
29 functions in elm for the API,
30 - test-suites for both the backend and the frontend.
33- **[example-servant-persistent](https://github.com/haskell-servant/example-servant-persistent)**:
35 An example for a web server written with **servant-server** and
36 [persistent](https://www.stackage.org/package/persistent) for writing data
37 into a database.