Building an app with express
This app satisfies the reqirements for Node-Js-Acceleration-13 Task A.
-
Listens on port 3301
-
Middleware for logging all requests (recommended: morgan)
-
Serves static files from the /staticdirectory
-
Implements a 404 middleware for inexistent files
"express": "^4.16.2"
"morgan": "^1.9.0"
"path": "^0.12.7"
Make sure you have npm installed on your system
Navigate to a directory using your favourite terminal
Clone this repository using from https://github.com/Devcrib/Node-Js-Acceleration-13.git to that directory
Run npm install
to install the app dependencies
Run npm start
to start the application