Skip to content

planetnest/Node-Js-Acceleration-13

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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