What is the purpose of the morgan middleware in Express.js?
Morgan is a widely used middleware for logging HTTP requests. It simplifies the process of logging HTTP requests in your application by automatically capturing request information such as request method, URL, status code, response time, and more. Morgan logs this information to the console or a spec