const app = require("./app"); const { APP_PORT } = process.env; app.listen(APP_PORT ?? 3000, () => { console.log(`server is running on http://localhost:${APP_PORT ?? 3000}`); });