// Name: Database Config // // Description: Configuration data related to the database connection // // Credit: // // Requires: // // ============================================================================ export interface AppConfig { /** * Port number that koa will listen on */ port: number; /** * Hostname that the koa will attach to */ hostname: string; } export const appConfig: AppConfig = { port: parseInt(process.env.PORT ?? '3006', 2), hostname: process.env.HOSTNAME || 'localhost', };