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:
11
app/Main.hs
Normal file
11
app/Main.hs
Normal 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"
|
||||
Reference in New Issue
Block a user