Starting from:

$25

CSE270E Assignment Module 9 - Chapter 4 - Middleware Solved

In this assignment you will add logging to your previous assignment.

Copy over Assigment-8 to Assignment-9

Do the following:

 Add the morgan logging package (make sure to use npm install with the --save option so your package.json is updated)

 Add morgan to log to a file called access.log using the short format (read the morgan documentation at


 Add a custom 404 error handler that includes some reference to contact your (your real contact info) for errors and support

All code should be committed to your git repo The server should be running on port 3009 Submit:

a clickable link to your git repo a clickable link to your running instance paste several lines of your log here.

More products