First, the development environment: windows
Second, install node:
To download and install from http://nodejs.org/download/, add the node installation directory and the Node_modules directory under the node installation directory to the environment variables. After the installation succeeds, as shown in:
Third, use node to build the project:
Enter (create) your own node workspace, create a new server.js, code such as 1, execute node server.js, open the browser, access http://localhost:8889, such as 2.
Iv. installation of Express:
The default installation to the global environment is valid, NPM install-g express-generator. After the installation succeeds, as shown in:
Five, use Express to build your project:
EXPRESS-E Demo Build Demo project. Perform CD demo && NPM install configuration related environments.
NPM start launches the project, opens the http://localhost:3000 in the browser and displays "Express,welcome to express". After success, such as 1 and 2
At this point, the first step to getting started with node is completed.
Win7 on the Nodejs entry one