jsguides

Tutorial series

Node JS Essentials

10 tutorials — follow in order for the best learning path.

  1. Getting Started with Node.js: Install, npm, and First Server

    Getting started with Node.js: learn what Node.js is, how to install it with nvm, run your first script, use npm, and build a basic HTTP server.

  2. Node.js Essentials: Modules and npm

    Learn Node.js essentials for creating, importing, and sharing modules, plus how to use npm to manage dependencies in your projects.

  3. Working with the File System in Node.js

    A practical guide to working with the file system in Node.js. Covers reading, writing, and manipulating files with fs, fs/promises, streams, common patterns.

  4. Database Integration (SQL and NoSQL)

    Connect Node.js to PostgreSQL and MongoDB: use the pg driver and Mongoose for database integration, connection pooling, and security best practices.

  5. Building HTTP servers with Node.js from scratch

    Learn building HTTP servers using the Node.js http module. Handle routes, process requests, read request bodies, and set response headers without a framework.

  6. Node.js Essentials: Building a Web App with Express

    Build a complete web app from scratch in this Node.js Essentials tutorial. Covers Express.js routing, middleware, form handling, and static file serving.

  7. Node.js Streams: Efficient Data Processing Guide

    Node.js streams let you process large data chunk by chunk, keeping memory usage low. Learn readable, writable, and transform streams with examples.

  8. Node.js logging and monitoring: structured logs in production

    Master Node.js logging and monitoring in production with structured logging, Pino, Winston, process events, and production best practices for observability.

  9. Node.js Worker Threads: Parallel Processing with worker_threads

    Learn how to use Node.js worker threads for CPU-intensive tasks. Offload heavy computations from the event loop and improve application performance.

  10. Middleware Patterns in Node.js

    Master middleware patterns in Express.js — learn how to create, chain, and compose middleware functions for scalable Node.js applications.