Modulify Datarekisteri.Backend

This commit is contained in:
Saku Laesvuori 2023-10-19 09:55:59 +03:00
parent c85f093a60
commit dfbdb0cf99
Signed by: slaesvuo
GPG Key ID: 257D284A2A1D3A32
3 changed files with 8 additions and 1 deletions

View File

@ -43,8 +43,9 @@ executable datarekisteri-backend
wai-cors,
wai-extra,
directory
main-is: Datarekisteri/Backend.hs
main-is: Main.hs
other-modules:
Datarekisteri.Backend,
Datarekisteri.Backend.API,
Datarekisteri.Backend.DB,
Datarekisteri.Backend.Sql,

View File

@ -5,6 +5,8 @@
{-# LANGUAGE NoImplicitPrelude #-}
module Datarekisteri.Backend where
import Relude
import "cryptonite" Crypto.Random (MonadRandom(..))

4
backend/src/Main.hs Normal file
View File

@ -0,0 +1,4 @@
import qualified Datarekisteri.Backend as Backend
main :: IO ()
main = Backend.main