A Lightweight OCaml Webapp Tutorial

made and submitted by Shon
This tutorial aims to guide readers familiar with OCaml along one course to a backend for a webapp. The app is lightweight in that it doesn’t take much code to define and in that it probably shouldn’t be used for any heavy, industrial applications. The app demos two kinds of functionality: (1) An embellished echo server, responding to path parameters; (2) An interface to a rudimentary database of author excerpts.