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

initial version with basic model - todo implement logic

added a swagger-generator

deriving coupontype automatically

implemented cors for swagger to work

fixed product model
This commit is contained in:
2017-05-05 00:16:45 +05:30
committed by Alaudidae
commit 1d44db32f0
18 changed files with 536 additions and 0 deletions

11
app/Main.hs Normal file
View File

@@ -0,0 +1,11 @@
module Main where
import App
import SwaggerGen
main :: IO ()
main = do genSwaggerDoc
run "host=localhost port=5432 user=msfuser dbname=coupon password="
-- run "testSql.db"