1
0
mirror of https://github.com/alaudidaelark/coupon-servant.git synced 2026-03-07 14:02:35 +00:00
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30
2017-05-07 19:25:44 +05:30

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%