上QQ阅读APP看书,第一时间看更新
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.