Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 717 Bytes

README.md

File metadata and controls

35 lines (17 loc) · 717 Bytes

Node-Js-Acceleration-13

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

Dependencies

"express": "^4.16.2"

"morgan": "^1.9.0"

"path": "^0.12.7"

To run the app

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