1
0
mirror of https://github.com/alaudidaelark/coupon-servant.git synced 2026-03-07 22:12:34 +00:00

coupon-servant

Setup

  • put the postgres connection string in Main.hs
  • run stack build then
  • run stack exec coupon-servant-exe to start the server

Testing

  • run docker pull swaggerapi/swagger-ui to download swagger-ui container
  • run docker run -d --name swui -e API_URL="http://localhost:3000/swagger.json" -p 5341:8080/tcp swaggerapi/swagger-ui
  • point your browser to swagger-ui
Description
No description provided
Readme BSD-3-Clause 64 KiB
Languages
Haskell 100%