Integrate Persistent with Servant
Query my SQLite database from within my Servant handlers. Nothing I've written is domain-specific to the business logic yet -- I'm just making sure everything integrates.
This commit is contained in:
parent
660b8d43e5
commit
1d47e94bbe
6 changed files with 117 additions and 34 deletions
|
|
@ -1,5 +1,7 @@
|
|||
module Main where
|
||||
--------------------------------------------------------------------------------
|
||||
import qualified App
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
putStrLn "Working..."
|
||||
main = App.run "sqlite.db"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue