Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 341 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 341 Bytes

Haskell web api using the Spock framework for hosting on CloudFoundry.

BUILD

cabal build

RUN

export PORT=3000
dist/build/DevilsDictionary/DevilsDictionary

API

  • [GET] / Return the complete Devil's Dictionary
  • [GET] /keys Return all the dictionary keys
  • [GET] /{key} Return the definition of the specified word