7554ed4ae3
Contributes a basic mysql-backed API with basic CRUD functionalities.
37 lines
1.2 KiB
ReStructuredText
37 lines
1.2 KiB
ReStructuredText
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
|
|
|
|
structuring-apis/StructuringApis.lhs
|
|
generic/Generic.lhs
|
|
https/Https.lhs
|
|
db-mysql-basics/MysqlBasics.lhs
|
|
db-sqlite-simple/DBConnection.lhs
|
|
db-postgres-pool/PostgresPool.lhs
|
|
using-custom-monad/UsingCustomMonad.lhs
|
|
using-free-client/UsingFreeClient.lhs
|
|
basic-auth/BasicAuth.lhs
|
|
basic-streaming/Streaming.lhs
|
|
jwt-and-basic-auth/JWTAndBasicAuth.lhs
|
|
hoist-server-with-context/HoistServerWithContext.lhs
|
|
file-upload/FileUpload.lhs
|
|
pagination/Pagination.lhs
|
|
curl-mock/CurlMock.lhs
|
|
sentry/Sentry.lhs
|
|
testing/Testing.lhs
|
|
open-id-connect/OpenIdConnect.lhs
|