Installing the Express module
Since the Express module is installed using npm, we type the npm install express
command to install it.
The Express module is now installed.
Note
A utility related to Express is also useful for creating the architecture of our web applications. This is the "express-generator"
module (this module was previously included with Express but is now separate from it, hence it’s uploaded here).
Let’s also install the "express-generator"
module using the npm install express-generator -g
command. We use the -g
option so that the express
command defined in this module is accessible from any directory.
Note
You can verify that the installation is correct by typing the command express -h
. If the installation of the module is...