Monday, January 21, 2019

Node JS

What is Node.Js

  • Node.js is an open source server framework
  • It is free
  • Node.js runs on various platforms
  • Node.js uses JavaScript on the Server

Where to Use Node.js?

  • I/O bound Applications
  • Data Streaming Applications
  • Data Intensive Real-time Applications (DIRT)
  • JSON APIs based Applications
  • Single Page Applications

Install Node.js via NVM

  • Step #1:
    • sudo apt-get update
  • Step #2:
    • sudo apt-get install build-essential libssl-dev
  • Step #3:
    • sudo curl https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
  • If no curl
    • sudo apt-get install curl https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
  • Step #4:
    • source ~/.profile
  • Step #5:
  • Step #6:
    • nvm install 6.16.0
  • Step #7:
    • nvm ls
  • Step #8:
    • node --version
  • Step #9:
    • npm --version
Referance From : https://www.liquidweb.com/kb/how-to-install-nvm-node-version-manager-for-node-js-on-ubuntu-14-04-lts/
                      https://www.tutorialspoint.com/nodejs/
                      Wikipedia

No comments:

Post a Comment