tmp-proc-example-0.5.1.2: Shows how to test a simple service using tmp-proc
Copyright(c) 2020-2021 Tim Emiola
LicenseBSD3
MaintainerTim Emiola <adetokunbo@users.noreply.github.com>
Safe HaskellNone
LanguageHaskell2010

TmpProc.Example1.Server

Description

Implements the demo service.

Synopsis

Server implementation

runServer' :: Port -> Locator -> Locator -> IO () Source #

Runs waiApp on the given port.

runServer :: IO () Source #

Runs waiApp using defaults for local development.

waiApp :: Locator -> Locator -> Application Source #

An Application that runs the server using the given DB and Cache.