Modulify Datarekisteri.Backend
This commit is contained in:
parent
c85f093a60
commit
dfbdb0cf99
|
@ -43,8 +43,9 @@ executable datarekisteri-backend
|
||||||
wai-cors,
|
wai-cors,
|
||||||
wai-extra,
|
wai-extra,
|
||||||
directory
|
directory
|
||||||
main-is: Datarekisteri/Backend.hs
|
main-is: Main.hs
|
||||||
other-modules:
|
other-modules:
|
||||||
|
Datarekisteri.Backend,
|
||||||
Datarekisteri.Backend.API,
|
Datarekisteri.Backend.API,
|
||||||
Datarekisteri.Backend.DB,
|
Datarekisteri.Backend.DB,
|
||||||
Datarekisteri.Backend.Sql,
|
Datarekisteri.Backend.Sql,
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
{-# LANGUAGE NoImplicitPrelude #-}
|
{-# LANGUAGE NoImplicitPrelude #-}
|
||||||
|
|
||||||
|
module Datarekisteri.Backend where
|
||||||
|
|
||||||
import Relude
|
import Relude
|
||||||
|
|
||||||
import "cryptonite" Crypto.Random (MonadRandom(..))
|
import "cryptonite" Crypto.Random (MonadRandom(..))
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
import qualified Datarekisteri.Backend as Backend
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = Backend.main
|
Loading…
Reference in New Issue