const app = require('express')(); let text = "Hello world"; app.get('/' , (req,res)=>{ res.send(text); }) app.listen(8080 , ()=>console.log("server running"));