import 'dotenv/config'; import { createApp } from './src/app'; const port = Number(process.env.PORT ?? 3000); const app = createApp(); app.listen(port, () => { console.log(`Server listening on http://localhost:${port}`); });