Installing Express generator

For our first application, let's use the official Express generator. The generator helps us in creating the initial code of our application and we can modify it to fit into our application.

Simply type the following command in your terminal or shell:

npm install -g express

Note that the -g flag means installing globally on your machine so that you can use it on any project.

Express is a powerful micro framework for Node.js; with it, it's possible to build web applications with ease.

Get Node.js 6.x Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.