Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/igrep/yesod-sample-fpcomplete

Sample yesod application from FP Haskell Center tutorial
https://github.com/igrep/yesod-sample-fpcomplete

Last synced: about 4 hours ago
JSON representation

Sample yesod application from FP Haskell Center tutorial

Awesome Lists containing this project

README

        

This project is a combination of a working web application and a tutorial.
The inline comments should guide you through an understanding of how this
application works.

I recommend reading the modules in the following order:

* Foundation
* Import
* Handler.Home
* Handler.Fib
* Handler.Markdown
* Main

This application provides both a JSON API for two simple services (markdown processing
and fibonacci number calculation), as well as a simplistic web frontend for accessing
those services.

Feel free to set the Main module as the target and run this application immediately to
see what the result is. Then come back, read the code, experiment with some changes,
and rerun the application. If at any point you want to undo your changes, use the "Git"
top menu and select "Reset".