You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Import the top-level function of expressletexpress=require('express');// Creates an Express application using the top-level functionletapp=express();// Define port number as 3000letport=5000;// Routes HTTP GET requests to the specified path "/" with the specified callback functionapp.get('/',(req,res)=>{res.status(200).json({status: 'ok',message: "Welcome to Morol"});});// Make the app listen on port 3000app.listen(port,()=>{console.log(`server run on ${port} number port!!!`);})