A Servant server combines endpoint handlers into the implementation of a complete API specification. Each handler returns a Servant Handler action, while database operations can be supplied as IO actions. section 17.1.3
Todo API server
mkTodoApiServer takes a database Connection, specializes database actions such as getEntries and addEntry, and combines entriesHandler, addHandler, and toggleHandler into a Server TodoApi.
