//In CMD // npm i dotenv //in JS file const env = require('dotenv'); const app = express(); env.config({ path: './config/.env' }); //use const PORT = process.env.PORT;