Real World REST APIs with Scotty and Generic-Persistence

Posted on December 5, 2024 by Thomas Mahler Abstract In this blog post I will show how to write a real world REST service in Haskell using the Scotty web framework and the generic-persistence database access library. In particular I will demonstrate how to - build CRUD operations against a database backend, - add pagination support - and secure access with token based authentication My main…