How to log Node JS http requests using morgan
Morgan is a third-party middleware or module used to log every http request information in details as customized by the developer. This is a very useful dev tool.
Morgan makes work lot more easier and flexible.
Before using Morgan, make sure Morgan has been installed or install via npm with the command:-