Node.js Fundamentals
Master backend development with Node.js — from the event loop and core modules to Express, databases, caching, TypeScript, and Docker.
Pass your 3 interview rounds to earn your certificate.
Curriculum
-
1 Introduction to Node.js
Understand what Node.js is, why it exists, how to install it, and how to run your first program.
-
2 The Event Loop and I/O
Learn how Node.js stays fast with a single thread: async vs sync, the event loop phases, and non-blocking I/O.
-
3 Core Modules
Explore the built-in modules that ship with Node.js: http, fs, path, os, events, process, Buffer, crypto, URL, util, and HTTPS.
- The http Module Reading 15 min
- The File System (fs) Module Reading 15 min
- The path Module Reading 10 min
- The Operating System (os) Module Reading 10 min
- Events and EventEmitter Reading 15 min
- process, Buffer, and Node.js Globals Reading 15 min
- URL and Query String Handling Reading 10 min
- The crypto Module Reading 15 min
- The util Module and promisify Reading 10 min
- HTTPS and TLS Basics Reading 15 min
- Knowledge Check Quiz 10 min
-
4 Streams and Streaming
Process data piece by piece with streams: readable, writable, duplex, transform, pipes, backpressure, and real-world streaming.
-
5 NPM and Package Management
Manage dependencies with npm: package.json, versioning, scripts, and publishing your own packages.
- Introduction to npm Reading 10 min
- Understanding package.json Reading 15 min
- Dependencies and Semantic Versioning Reading 15 min
- npm Scripts Reading 10 min
- Publishing Packages Reading 10 min
- Lockfiles and Repeatable Installs Reading 10 min
- Dependency Security and Auditing Reading 10 min
- Knowledge Check Quiz 10 min
-
6 Express.js
Build web servers with Express: routing, middleware, request parsing, validation, security middleware, MVC, and server-rendered HTML.
- Introduction to Express Reading 15 min
- Routing Reading 15 min
- What is Middleware? Reading 15 min
- MVC in Express Reading 20 min
- EJS Templates and Serving HTML Pages Reading 15 min
- Request Parsing and Validation Reading 20 min
- Security Middleware: CORS, Helmet, and Rate Limits Reading 20 min
- Error Handling Middleware Reading 15 min
- Project Structure for Express APIs Reading 15 min
- Knowledge Check Quiz 10 min
-
7 Error Handling and Configuration
Handle failures predictably in Node.js and Express, validate runtime configuration, and shut services down gracefully.
-
8 REST APIs, SSE and Webhooks
Design RESTful APIs with clear resources, status codes, validation boundaries, documentation, and real-time options such as SSE, webhooks, and WebSockets.
- What is REST? Reading 15 min
- Building CRUD Endpoints Reading 20 min
- Server-Sent Events (SSE) Reading 15 min
- Webhooks Reading 15 min
- Status Codes and Error Responses Reading 15 min
- API Versioning and Pagination Reading 15 min
- OpenAPI and API Documentation Reading 15 min
- WebSockets vs Server-Sent Events Reading 15 min
- Knowledge Check Quiz 10 min
-
9 Testing Node.js APIs
Test Node.js services with unit tests, API tests, mocks, integration checks, and maintainable test strategy.
-
10 Databases with Node.js
Connect Node.js to relational and NoSQL databases, covering drivers, pooling, transactions, migrations, ORMs, and production data-access patterns.
- SQLite and Node.js Reading 15 min
- MySQL and Node.js Reading 20 min
- MongoDB and Node.js Reading 20 min
- PostgreSQL and Node.js Reading 20 min
- Connection Pooling Reading 15 min
- Transactions Reading 15 min
- Database Migrations Reading 15 min
- ORMs and Query Builders Reading 20 min
- Knowledge Check Quiz 10 min
-
11 Authentication, Security and File Uploads
Secure your applications with authentication and best practices, and handle file uploads and storage.
-
12 Caching
Speed up your apps with caching: in-memory caches and distributed caching with Redis.
-
13 TypeScript with Node.js
Add type safety to your backend: set up a TypeScript project and build Node.js apps with TypeScript.
-
14 Docker and Deployment
Containerize your Node.js apps: Docker basics, Docker Compose, and dockerizing a real project.
-
15 Design Patterns
Write maintainable backend code with proven design patterns: creational, structural, behavioral, and Node.js-specific patterns.
-
16 Load Balancing and Scaling (Nginx)
Scale Node.js apps to handle real traffic: horizontal scaling, reverse proxies, load balancing with Nginx, and clustering.
-
17 Authentication Concepts
Understand the building blocks of identity and access: encryption vs hashing, sessions vs tokens, JWT, OAuth2, and SSO.
-
18 API Optimization Techniques
Make APIs fast and resilient: pagination, caching, rate limiting, compression, and database query optimization.