Environment Setup

Tools needed

  • Chrome or Any browser
  • Node JS (Runtime Environment)
  • Node Package Manager(installed with Node JS)
  • Babel (Transpiler)
  • Webpack (Bundler)
  • VSCode(Editor)

Node JS

what is Node JS??

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser.

Why we need node JS??

Generally, we don't need Node for running JS in browser. But, we need NPM(node package manager) for installing dependency packages like babel(which we will know about it in later videos). Also, to serve static files like html, js, css we need a web server. So, We will use node server to serve static files.

How to install Node JS??

  • Go to this link https://nodejs.org/en/download/
  • Download the executable file based on the OS which you use.
  • Install the .exe or .dmg and then open command prompt or terminal to check whether the Node JS is installed
  • Type node -v in your command prompt and press enter if node is installed properly it will throw the version number else it will throw command not found error.

QUICK RECAP

Environment Setup

By hentry martin

Environment Setup

  • 266