Objective
Nodejs is a lightweight framework based on the V8 engine, which features event-driven, nonblocking, single-threaded, asynchronous callbacks, and more.
Nodejs is easy to use relative to other languages running on the server side.
This article describes the environment for Nodejs under Windows.
Download
nodejs:https://nodejs.org/download/
Mongodb:http://www.mongodb.org/downloads
Installation
Install the downloaded files separately.
After the installation is complete, you can:
Node-v: View the Nodejs version.
Npm-v: View the NPM version.
NPM is Nodejs's package dependency management tool that can download management dependency packages.
View the MongoDB file at the MongoDB installation address.
Nodejs Frame
Nodejs has many frameworks, the more popular are express, KOA and so on.
The Express framework is used here.
Open the cmd command line and enter the command:
NPM install-g [email protected]
Wait for installation, can be used after successful installation
Express-h view Help.
NODEJS Environment Deployment under windows