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