Problem Statement
How do you create a simple Express.js application?
Explanation
First, import Express, create an app using `express()`, define routes, and start listening on a port. Express automatically handles HTTP requests and responses.
Code Solution
SolutionRead Only
const express=require('express');
const app=express();
app.get('/',(req,res)=>res.send('Hello World'));
app.listen(3000);