Example of using the servant web framework in Eta
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
src
.gitignore
ChangeLog.md
LICENSE
README.md
Setup.hs
eta-servant.cabal

README.md

Eta Servant Example

This is an proof-of-concept example of using the Servant web framework in Eta.

Prerequisites

  • Eta 0.0.6b5+

Instructions

  1. Install the dependencies and run.
etlas install --dependencies-only
etlas run

NOTE: If the installation step seems to hang with no console output, try:

etlas install --dependencies-only --allow-newer
etlas run

which should make it go faster, but may make your build fail in rare cases.

  1. Go to http://localhost:9000 and see the generated docs on how to play with the API.

  2. Read the Servant Tutorial and modify this example to your heart's content!