6.6 Testing Express Application : Part I

Install express npm install -i express --save


Create a new Express Server

const express = require('express');
var app = express();
app.get('/', (req, res) => {
res.send('hello world');
});
app.listen(3000);

Start it up
node server.js