Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 957 Bytes

index.rst

File metadata and controls

29 lines (25 loc) · 957 Bytes

Cookbook

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!

.. toctree::
  :maxdepth: 1

  structuring-apis/StructuringApis.lhs
  generic/Generic.lhs
  https/Https.lhs
  db-sqlite-simple/DBConnection.lhs
  db-postgres-pool/PostgresPool.lhs
  using-custom-monad/UsingCustomMonad.lhs
  basic-auth/BasicAuth.lhs
  jwt-and-basic-auth/JWTAndBasicAuth.lhs
  file-upload/FileUpload.lhs
  pagination/Pagination.lhs