Builds an new console app.
If a value forappConfig
is not passed, the serverLogger
property is missing or the serverLogger.logTimestamp
property
is missing timestamps will be enabled for logger output.
Optional
appConfig: AppConfigOptional
appContainer: ContainerProtected
Readonly
apiProtected
appProtected
appProtected
Optional
Readonly
controllersProtected
Readonly
expressProtected
initialisedProtected
Readonly
logProtected
loggerGenerated using TypeDoc
Simple console application that hosts an express HTTP server.
A request is mapped from the HTTP request to the ApiServer event format, a ApiServer instance then processes the request. The ApiServer response is mapped to a standard HTTP response and returned to the express client.