Loading lesson path
Node.js
Node.js Tutorial focused on Node.js Introduction and related concepts.
Node.js is a free, open source tool that lets you run JavaScript outside the web browser.
- How to install and run Node.js - Core concepts like modules and the event loop - How to build web servers and APIs - Working with databases and files - Deploying Node.js applications
Open your terminal/command prompt and type:
If you're new to JavaScript, don't worry!
Node.js and browsers both run JavaScript, but they have different environments and capabilities.
Node.js provides a powerful command line interface (CLI) that allows you to run JavaScript files, manage packages, debug applications, and more.
The V8 engine is Google's open-source JavaScript engine, used by Chrome and Node.js.
Node.js uses a single-threaded, event-driven architecture that is designed to handle many connections at once, efficiently and without blocking the main thread.
The event loop is what makes Node.js non-blocking and efficient.