Node.js is on server-side scripting.
Things that make Node.js great:
1. Asynchronous and Event Driven - All APIs of Node js library are asynchronous that is non-blocking. It essentially means a Node js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node js helps the server to get a response from the previous API call.
3. Single Threaded but Highly Scalable - Node js uses a single threaded model with event loop
Real Time Web Apps
The event-driven nature of Node.js makes it a great choice for developing real time web apps like chats and games. It can also be used as a web server and supports multiple programming languages like Ruby, PHP and Python along with HTML5 Web Sockets.
Data Streaming Apps
Node.js helps you write large, scalable programs
With Node.js, however, each action you perform triggers an event . If these actions take some time to complete (e.g., accessing a database), they just create another event without interrupting execution of the rest of the program while they are taking place (this is called non-blocking).
This makes it possible to write complex programs with shorter