Getting ready

In this recipe, you will see how to build a web application that will serve static assets in a certain path. Before you start, create a new package.json file with the following content:

{ 
    "dependencies": { 
        "express": "4.16.3" 
    } 
} 

Then, install the dependencies by opening a terminal and running:

npm install