if (!process.env.PORT) { console.log("Missing environment variable PORT"); process.exit(1); } export const port: number = parseInt(process.env.PORT as string, 10); if (!process.env.SESSION_SECRET) { console.log("Missing environment variable SESSION_SECRET"); process.exit(1); } export const sessionSecret: string = process.env.SESSION_SECRET;