Optional
containerOptional hook function that sets up the container with the provided HTTP server and Express app.
The HTTP server instance.
The Express application instance.
A promise that resolves when the setup is complete.
Optional
cors?: { Configuration options for Cross-Origin Resource Sharing (CORS).
Optional
allowOptional
headers?: string[]Optional
origin?: string | string[]Optional
healthThe route for the health check endpoint.
Optional
port?: numberThe port number for the server to listen on.
An array of route objects representing the available routes in the application.
Optional
timeout?: numberOptional timeout value in milliseconds.
Represents the configuration options for a router.