Starting from:

$30

CSE270E- Assignment 9 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

https://github.com/expressjs/morgan (https://github.com/expressjs/morgan)

 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.

Some Rubric (10)
https://miamioh.instructure.com/courses/84369/assignments/874952?module_item_id=1448513           1/2 1/29/2019            Assignment Module 9 - Chapter 4 - Middleware

Criteria
 
Ratings
Pts
Links present and clickable.
2.0 pts Full Marks
 
0.0 pts

No Marks
2.0 pts
Code Quality
5.0 pts Full Marks
 
0.0 pts

No Marks
5.0 pts
package.json updated with morgan
5.0 pts Full Marks
 
0.0 pts

No Marks
5.0 pts
Log messages
3.0 pts Full Marks
 
0.0 pts

No Marks
3.0 pts
404 error
3.0 pts Full Marks
 
0.0 pts

No Marks
3.0 pts
 
Tot
al Points: 18.0
https://miamioh.instructure.com/courses/84369/assignments/874952?module_item_id=1448513                                                                                                         2/2

More products