Node JS For Begginers

Node JS For Beginners

What is Node JS?

Node.js is a server side run-time environment which is built on the V8 JavaScript engine of chrome. This is an open-source environment which provides the event driven and non-blocking/
asynchronous I/O and cross-platform run-time environment.Those facilities are helpful for building highly scalable server-side applications which use JavaScript. 
Web applications, command-line applications, REST API servers, real-time chat applications can be build using node.js

Advantages And Disadvantages Of Node JS?

Advantages

Single Programming Language Is Enough: node.js can be used for back and front end.
Faster : Using JavaScript in the back end and using google V8 engine makes node.js works faster.
Benefits Of NPM:  Node Package Manager or the NPM has stand-alone tools that allow to users to download and use.So the developer can manage the dependencies by his\her self.
Single-Threaded: To handle multiple concurrent clients, the tool offers many options such as callbacks and event loops.


Disadvantages

Unstable API
Not Good Enough For Heavy Computations


Getting started

1) Download and install the node.js from the official website  using https://nodejs.org .
2) To display hello world,
  • Create a Node.js file named "HellowWorld.js"
  • Add the bellow code








Comments

Popular posts from this blog

"status": 404, "error": "not found", "message": "no message available", "path": "/api/employee"

There was an unexpected error (type=Not Found, status=404). No message available in Springboot