Express Create Server Part 1

 let express=require('express');

let app=express();

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


app.get('/LogIn', function (req, res) {
res.send('<h1>LogIn Success</h1>');
})


let server = app.listen(3022,function () {
console.log('Server Start');
console.log("Example app listening at http://localhost:3022")
})

Comments

Popular posts from this blog

App 1st User Define Component

Example 1

Rabiit