
NodeJS is JavaScript based platform.It is used to build IO intensive web-application like video streaming sites, single-page applications, and other web applications.
Node.js = Runtime Environment + JavaScript Library
It is not advisable to use Node.js for CPU intensive applications.
Following are the Topics covered:
- Environment setup
- Node terminal – the playground for Nodejs
- Node Components
Environment setup:
You require just two thing to set nodeJS up and running & ready to develop :
- Text Editor
- NodeJS binary installation (it comes by default bundled with package manager – npm)
Set the Environment variable in windows to point to bin: e.g C:\Program Files\nodejs\bin
To check if installed properly: use command
node -version or node -v
NodeJS Runtime:
The source code written in source file is simply JavaScript. The Node.js interpreter will be used to interpret and execute your JavaScript code