//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;
npm install dotenv
npx nodemon -r dotenv/config server.js
require('dotenv').config()
console.log(process.env.PATH)