console.log(app.get('env'))
if(app.get('env').toLowerCase()==="development"){
app.use(morgan("dev"))
}
process.env.FOO = "bar"
console.log(process.env.FOO) // "bar"
// server.js
console.log(`Your port is ${process.env.PORT}`); // undefined
const dotenv = require('dotenv');
dotenv.config();
console.log(`Your port is ${process.env.PORT}`); // 8626