require('dotenv').config(); const express = require('express'); const app = express(); const PORT = process.env.PORT; app.get('/', (req,res)=>{ res.send('Hi From Harsh'); }); app.listen(PORT, ()=>{ console.log(`Listening to http://localhost:${PORT}`); })