Safe Haskell | None |
---|---|
Language | Haskell2010 |
BDCS.API.Server
Description
BDCS API Server
This starts a server and answers the API requests.
- mkApp :: FilePath -> FilePath -> IO Application
- proxyAPI :: Proxy CombinedAPI
- runServer :: Int -> FilePath -> FilePath -> IO ()
- data ServerStatus = ServerStatus {
- srvVersion :: String
- srvSchema :: String
- srvDb :: String
- srvSupported :: Bool
Documentation
mkApp :: FilePath -> FilePath -> IO Application Source #
Create the server app
Create a SQLite connection pool, open/create the Git repo, and return the app
data ServerStatus Source #
The status of the server, the database, and the API.
Constructors
ServerStatus | |
Fields
|
Instances