An open API service indexing awesome lists of open source software.

https://github.com/plsyssec/frankie

Simple well-typed Haskell webserver and routing framework
https://github.com/plsyssec/frankie

Last synced: 9 months ago
JSON representation

Simple well-typed Haskell webserver and routing framework

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.com/PLSysSec/frankie.svg?branch=master)](https://travis-ci.com/PLSysSec/frankie)

Frankie is a simple Web server and routing framework. The server lets your run
your app in your custom monad, not just IO. The framework is
configuration-driven and ensure that controllers are well-typed (vs. frameworks
like Sinatra where you'd have to parse URL query parameters).

Below is a simple illustrative example (at least until this README is actually written).

There are two (very simple) example apps, which can be built & run with

```console
$ stack build --flag frankie:build-examples
$ stack exec example-hello-world # Located at examples/HelloWorld.hs
$ stack exec example-hello-frankie # Located at examples/HelloFrankie.hs
```