understanding and working with routes

 const express = require("express");


const app = express();


app.get("/", function(req, res){

  res.send("hello suraj")

})


app.get("/contact", function(req, res){

  res.send("you can contact me at : surajkurle2003@gmail.com")

})


app.get("/about", function(req, res){

  res.send("my name is suraj and m the greatest coder")

})


app.listen(3000, function(){

  console.log("server started at port 3000");

})