bdcs-api-0.1.3: BDCS API Server

Safe HaskellNone
LanguageHaskell2010

BDCS.API.Server

Description

BDCS API Server

This starts a server and answers the API requests.

Synopsis

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

proxyAPI :: Proxy CombinedAPI Source #

Servant Proxy

This connects the API to everything else

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