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