Learn what Node.js is, how to install it, and write your first JavaScript programs outside the browser.
Tutorial series
Node JS Essentials
10 tutorials — follow in order for the best learning path.
- Getting Started with Node.js
- Node.js Essentials: Modules and npm
Learn how to create, import, and share modules in Node.js, plus how to use npm to manage dependencies in your projects.
- Working with the File System in Node.js
Learn how to read, write, and manipulate files using Node.js built-in fs module. Covers fs, fs/promises, streams, and common patterns.
- Database Integration (SQL and NoSQL)
Learn how to connect Node.js to SQL and NoSQL databases, handle connections, execute queries, and follow best practices.
- Building an HTTP Server
Learn how to create HTTP servers from scratch using Node.js built-in http module, handle routes, and process requests.
- Node.js Essentials: Building a Web App with Express
Learn how to build a complete web application from scratch using Express.js, the most popular Node.js web framework.
- Streams in Node.js
Learn how to work with streams in Node.js to handle large amounts of data efficiently with readable, writable, and transform streams.
- Logging and Monitoring in Node.js
Learn how to implement structured logging and monitor your Node.js applications in production using built-in APIs and popular libraries like Pino and Winston.
- Worker Threads in Node.js
Learn how to use Worker Threads in Node.js to run CPU-intensive JavaScript tasks in parallel and improve application performance.
- Middleware Patterns in Node.js
Master the middleware pattern in Express.js — learn how to create, chain, and compose middleware functions for scalable Node.js applications.