Install Express.js

September 21, 2018
Install Express.js

Express.js  is an asynchronous JavaScript programming language and MVC-like structure. Compare then other JavaScript it is too fast. 

It is a framework of Nodejs. if you want to learn Express.js. 
you must know about JavaScript and Nodejs.
Express.js feature for mobile Apps and Websites. 


  • It is also using a single-page website, multiple pages website.
  • It is using dynamic HTML page templates.


Step-1. Firstly we have Install Nodejs if you have already installed no need to install it again. if you want to Install Nodejs to see my last post.
Referral URL:https://www.softwarequery.com/2018/06/how-to-install-nodejs-via-command-on.html

Step-2. After installing Nodejs we are going to install express. Create a folder with the name Nodejs Apps then open cmd and write a command $cd Nodejs Apps.
                     


Step-3.  Write another command $npm install express --save.
         
         

Step-4. Write a next command  $npm install express-generator -g.


step-5. Then write the next command $express demo1 then write command  $cd demo1.
            

            
                             
Step-6. Install npm to write a command $npm install.
                             
                             
           

Step-7. After Install npm write command to $npm start then go to browser open tab and type localhost:3000.