express js sample project

JavaScript
var express=require('express');
var app=express();

app.get('/',function(req,res){
	res.send("Hello World!");
});

var server=app.listen(3000,function() {});
const express = require('express')const app = express() app.get('/', function (req, res) {  res.send('Hello World')}) app.listen(3000)
Source

Also in JavaScript: