handling requests and response
const express = require("express");
const app = express();
app.get("/", function(request, response){
response.send("hello suraj")
})
app.listen(3000, function(){
console.log("server started at port 3000");
})
const express = require("express");
const app = express();
app.get("/", function(request, response){
response.send("hello suraj")
})
app.listen(3000, function(){
console.log("server started at port 3000");
})