What is Node Js

 

nodejs

Introduction to NODE JS ?

Node JS is an asynchronous, event-driven, non-blocking javascript runtime environment. It is designed to build scalable network applications.

  • It is developed b Ryan Dahl in 2009
  • It supports databases like MongoDB, MySQL, PostgreSQL etc..
  • We can do many backend functionalities like creating REST APIs, integrating payment gateways, video calling, audio calling, live streaming etc..

  • It depends some libraries also :
  • V8 is Google Chrome JavaScript Engine.
  • npm used to build packages and used to install packages.
  • It supports html,css, different rendering languages like ejs,pug etc..
  • Fastest server setup among all the existing backend languages.
  • Trending technology having more job opportunities as backend/ Nodejs / Fullstack developers.
  • Simple, Robust and Scalable.

JavaScript Engine Overview..

Event Loop..

event Loop

JavaScript Engine Practical..

engine practicale


Environment Setup..
  • Install Latest stable (LTS) Node JS Software.
    https://nodejs.org/en/
  • It supports many operating systems (mac, linux, windows etc..)
  • It can be installed in many different ways..
  • npm will be installed along with node.
  • npm stands for node package manager.

How to download and install Node

go to https://nodejs.org ,. In most cases download the stable version. i.e recommended for most users.

What is Node JS?

Node is a cross-platform, run-time environment for executing JavaScript code outside of a browser. Node is not a programming language or a framework. It is a run-time environment for executing JavaScript codes. 10-15 years back, JavaScript was only functional on client side applications, today you can build full stack (front and back end application) without leaving the JavaScript environment.

What can you build with Node?

  • Chat applications/servers
  • Your version of Google Hangout or Skype?
  • Instant messaging services apps
  • Full eCommerce platforms
  • Online gaming apps
  • Netflix
  • The list is endless.....