From 0f1e5475b95157ff11505c452b6977f97ea7fb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Tue, 7 Jun 2016 20:56:39 +0800 Subject: [PATCH] doc: add two more examples for servant projects --- doc/examples.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/examples.md b/doc/examples.md index b861ddc1..47e73aa1 100644 --- a/doc/examples.md +++ b/doc/examples.md @@ -17,3 +17,21 @@ A custom monad that can replace `IO` in servant applications. It adds among other things logging functionality and a reader monad (for database connections). A full usage example of servant/diener is also provided. + + +- **[example-servant-elm](https://github.com/haskell-servant/example-servant-elm)**: + + An example for a project consisting of + + - a backend web server written using **servant-server**, + - a frontend written in [elm](http://elm-lang.org/) using + [servant-elm](https://github.com/mattjbray/servant-elm) to generate client + functions in elm for the API, + - test-suites for both the backend and the frontend. + + +- **[example-servant-persistent](https://github.com/haskell-servant/example-servant-persistent)**: + + An example for a web server written with **servant-server** and + [persistent](https://www.stackage.org/package/persistent) for writing data + into a database.