Add the following code to your app.js
file:
var express = require('express')
var morgan = require('morgan')
var app = express()
app.use(morgan('combined'))
app.get('/', function (req, res) {
res.send('hello, world!')
})
Now when you access your website you will see in the console you used to start the server that the requests are logged