Join Class

NodeJs Tutorial for Beginners

In this node tutorial we will learn how to build Nodejs application using server side JavaScript programming.

NodeJs provides huge number of javascript library, which we can import in our JavaScript code and start using functionalities. below is the example of how we can use http var http = require('http'); module to start a server in local environment.

var http = require('http');

http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/html'});
    res.end('Hello World! this is my new page cntent');
    res.end('<h1>this is a test h1 tag</h1>');

Above code will start the server in our local environment and create a html page with specified content, after running the above code, if you open http://localhost:8080 you will able to see the page and the content as written in above code.


Every single line of code you write in node application, is pure JavaScript, before you start learning NodeJs, you should have a basic idea of following two things:

How to learn NodeJs?

Node.js is an open-source server side programming language and runtime environment built on Chrome's V8 JavaScript engine. Node provides an event driven, asynchronous and cross-platform runtime environment for building highly efficient server-side applications using JavaScript.

Here are few important things about NodeJs we must know before we start learning Node Development

  • Node is not a Framework
  • Node is a runtime environment for executing JavaScript code
  • Node.js is event driven
  • Node.js is a server-side JavaScript environment
  • Node can handle multiple requests asynchronously from single thread
  • Node.js is an open-source
  • Node is cross-platform JavaScript run-time environment
What NodeJs Can Do?

Using NodeJs we can do following tasks

  • We can create dynamic page content
  • We can perform CRUD operation on file and close the file on server
  • We can perform all CRUD operation on database
Download Nodejs Libraries for local environment

You can download Node.js from the official site:, there are different types of installer, choose the right one for your operating system.

What would be the scope after learning Node.js?

There are many big companies using Node.Js for their application development, Companies like Netflix, Linkedin, Medium, eBay, NASA, Trello, Uber, PayPal etc. are using Node.js, So as a Node development professional you have huge career scope

Node Development Environment Setup

Before you can start with some real time node application development, you need to make sure that you have installed Node and setup the Terminal correctly , then learn following tasks step by step.

Nodejs runtime environment is designed for building scalable network applications; learn more about nodejs resources, community, latest release etc.

Node Js is the latest server side JavaScript framework that allow us to develop lightweight data driven application.
Learn NodeJs
Learn Node application development, free node js framework tutorial with examples.
NodeJs App Development