node js sample project code example
Example 1: express js sample project
var express=require('express');
var app=express();
app.get('/',function(req,res){
res.send("Hello World!");
});
var server=app.listen(3000,function() {});
Example 2: initialize express app
npx express-generator