1 2 3 4
import app from './app'; const {PORT = 8080} = process.env; app.listen(PORT, () => console.log(`Listening on port ${PORT}`)); // eslint-disable-line no-console