Exercise 1
Checks out branch step1...
$npm install saves "dependencies" from your package.json file.
Latest version (^3) of npm creates a flat directory structure (of sub-dependencies).
Create a basic server with Express to send back a json file on a GET request to '/data'. And serve a static index.html file on the root '/'.
Uses the
fs
node file system module. - Flat npm dir structure, what if two different versions of a module is required?
- Not sure, no definite answer