427 B
Executable File
427 B
Executable File
coupon-servant
Setup
- put the postgres connection string in
Main.hs - run
stack buildthen - run
stack exec coupon-servant-exeto start the server
Testing
- run
docker pull swaggerapi/swagger-uito 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