2017-11-25 00:49:25 +01:00
|
|
|
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 <https://github.com/haskell-servant/servant>`_
|
|
|
|
or even to just get in touch with us on the **#servant** IRC channel
|
|
|
|
on freenode or on
|
|
|
|
`the mailing list <https://groups.google.com/forum/#!forum/haskell-servant>`_.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-12-08 23:21:00 +01:00
|
|
|
structuring-apis/StructuringApis.lhs
|
|
|
|
https/Https.lhs
|
2017-12-02 00:00:27 +01:00
|
|
|
db-sqlite-simple/DBConnection.lhs
|
2017-12-02 00:54:03 +01:00
|
|
|
db-postgres-pool/PostgresPool.lhs
|
2017-12-08 00:33:37 +01:00
|
|
|
basic-auth/BasicAuth.lhs
|
|
|
|
jwt-and-basic-auth/JWTAndBasicAuth.lhs
|
2017-12-08 18:59:15 +01:00
|
|
|
file-upload/FileUpload.lhs
|