Introduction to Node.js

Review a brief history of Node.js.

We'll cover the following

Node.js is a runtime environment that enables pure JavaScript code to run outside the web browser. In the earlier days of web development, back-end applications or codes that ran outside of a web browser were built on languages like Java or C++. JavaScript only ran on the web browser. In 2009, Ryan Dahl developed Node.js, which runs on the Chrome V8 engine and enables JavaScript to be executed outside a web browser.

The architecture for Node.js is event-driven, and it’s asynchronous in handling I/O operations. With Node.js, we can build web servers, develop command-line tools, and communicate with hardware, as seen in the development of microcontrollers and IoT-based systems.