Monday, May 25, 2015

Create and Install Node

Install Node.js.
      Required programs:
                           1)      Node: Node is platform to build scalable web application. Node.js  downloaded from  https://nodejs.org/
                             2)      Express: Express is framework for node.js to build web application.
                             3)      Node package manager: Install, publishes and manages Node Programs.
                             4) Notepad++
Steps:
1)      Down load node from https://nodejs.org/.
2)      Click and follow the instructions.
3)      Node installs node package manager.
4)      Open command prompt and verify after installation.
5)      If it is windows 8 reboot the machine
6)      Type NPM in command prompt and verify npm is successfully installed on the system.
                             




Create First program

             1)  Create folder Node Services
             2)  Use npm init to create application
             3)  Give name as studentapi  and click until end of all options
             4)  Install Express using node install express --save
                     "--save"option  will save the package into the package folder. 
              5) Create app.js file.
              6)  



No comments:

Post a Comment