Learn Node.js — Complete Guides
From install to production. Every Node.js guide you need — install, npm, files, APIs, authentication, and databases.
Install Node.js
Complete install guide for Windows, Mac, and Linux with nvm, npm, and verification steps.
Update Node.js
Update to the latest LTS version with nvm, npm, Homebrew, or the official installer.
Install pnpm
The fast, disk-efficient package manager for Node.js projects.
Deploy Node.js Free
Deploy to Render, Railway, or Fly.io. Free tiers explained with step-by-step setup.
npm vs npx vs yarn vs pnpm
Complete comparison — which package manager to use and when.
Fix "Cannot Find Module"
Every cause and fix for the most common Node.js error.
Environment Variables with dotenv
Load secrets and configuration safely from a .env file.
Read & Write JSON Files
Read, parse, and write JSON files with the fs module and ES modules.
File System (fs) Module
Read, write, append, delete, and watch files with the fs module.
Node.js with PostgreSQL
Connect Node.js to PostgreSQL with pg or Prisma. Includes pooling and transactions.
Install Express.js
The Node.js web framework for building APIs and web servers.
Build First REST API
Full CRUD API with Express. Test every endpoint with curl.
What Is a REST API?
HTTP methods, status codes, and how to design clean endpoints.
JWT Authentication
Sign, verify, and protect routes with JSON Web Tokens and middleware.
Node.js Project Structure
Best practices for folders, routes, controllers, and services.
🎯 Start with Install Node.js
New to Node? Begin with the install guide — everything else builds on it.
Open Install Guide →