about summary refs log tree commit diff
path: root/src/App.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-07-24T18·00+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-07-24T18·00+0100
commit660b8d43e5272e2b71b6092b4c879a82c4d861a8 (patch)
tree08e2be141393a591349618d7b8a426887f79ae21 /src/App.hs
parentec90748b827edcd465020acd5bd23ae6a01ba37a (diff)
Support a basic API
Use Servant to create a REST API supporting the following routes:
- GET /number
- POST /other

The server interacts with a SQLite database.
Diffstat (limited to 'src/App.hs')
0 files changed, 0 insertions, 0 deletions