This page is a collective effort whose goal is to show how to solve many common problems with servant. If you’re interested in contributing examples of your own, feel free to open an issue or a pull request on our github repository or even to just get in touch with us on the #servant IRC channel on freenode or on the mailing list.
The scope is very wide. Simple and fancy authentication schemes, file upload, type-safe links, working with CSV, .zip archives, you name it!
- Structuring APIs
- Using generics
- Serving web applications over HTTPS
- SQLite database
- PostgreSQL connection pool
- Using a custom monad
- Inspecting, debugging, simulating clients and more
- Basic Authentication
- Combining JWT-based authentication with basic access authentication
- File Upload (