If you want to know that how to install ExpressJs in windows than this tutorial is for you. ExpressJs is one of the powerful NodeJs Framework worked on MVC structure. This tutorial we will see that how can we install ExpressJs in windows. Please read this tutorial at the end and follow the given instruction.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
Installation is done using the
npm install command:
$ npm install express
Get started with express is to utilize the executable
1) to generate an application as shown below:
Install the executable expressjs:
$ npm install -g express-generator@4
Create a folder using command prompt, where you want to create in your system:
$ express MyFirstExpressProject
Now go to the folder using this command:
$ cd MyFirstExpressProject
Now install dependencies:
$ npm install
Than start the server using this command:
$ npm start
After starting the server go to the browser and paste following code:
I hope you like this post; If you like this post than comment and share this post and if you have any query related this than free to ask here…
Hey, this is Nilesh Sharma and I belong to the Pink City (Jaipur). My job as a software developer has made me a patient man and negotiation my skills! My job also keeps me on my toes, as i always trying to learn new skills to keep pace with the changing technology landscape.