What is Node.js?
- Node.js is free and open source platform.
- Supports different platforms: Linux, Unix, Windows, MacOS.
Features of Node.js:
Event-Driven modules: All modules in Node.js are based on event-driven programming. Developers can create scalable servers without using threading, by using a simplified model of event-driven programming that uses callbacks to signal the completion of a task.
Asynchronous: All modules of Node.js are asynchronous. Node.js functions are non-blocking and uses callbacks to signal completion or failure of a task.
Easy Scalability: Scalability is one of the many benefits of using Node.js. You can start using a lightweight and fast setup of start with your development and initial app releases, and scale up the system later. It supports both vertical and horizontal scaling. You can add more modules to your existing app easily.
In the next section we will see How to set-up Node.js environment on Windows machine and other OS.