Express JS Example
const express=require('express');
const app=express();
app.get('', (req, resp)=>{
resp.send('Hello, this is a home page');
});
app.get('/about', (req, resp)=>{
resp.send('Hello, this is a about page');
});
app.listen(5000);
Comments
Post a Comment