Node.js Backend

3 stages and 18 available courses. Follow the courses in order. Courses marked as planned are still in development.

Stage 1 · Node.js server development

Explore the Node.js runtime, HTTP APIs and frameworks, then organize an Egg.js application.

Node.js Basics
Explore the Node.js runtime, module loading, asynchronous execution and streams while writing file-processing scripts.
HTTP & Backend
Build HTTP services and REST APIs, add authentication and authorization, test endpoints and learn the deployment process.
Express
Build web apps and APIs using Express routing, middleware and error handling.
Koa
Use Koa contexts and cascading middleware to build lightweight, extensible services.
Egg.js
Organize backend services with Egg.js routes, controllers, services, plugins and configuration.

Stage 2 · Databases, caching and communication

Study databases, caching, background jobs and real-time communication. Read the Docker installation, container and volume chapters first.

MySQL
Design relational tables, write queries and manage transactions, indexes, backups and recovery from Node.js.
MongoDB
Model documents and run queries and CRUD operations with the MongoDB driver and Mongoose.
Redis
Use Redis data types and connections to build caches, recover from cache failures and diagnose performance issues.
BullMQ
Create, schedule and manage asynchronous Node.js jobs with BullMQ and Redis.
RabbitMQ
Explore routing, acknowledgments and persistence, then test consumer and failure handling in a payment service.
Socket.IO
Build and deploy a Node.js chat service with events, broadcasts, rooms, authentication and reconnection.
GraphQL API
Define GraphQL types, queries and mutations, expose an endpoint in Express and call it from the frontend.

Stage 3 · Architecture, deployment and operations

Deploy and troubleshoot services before exploring multi-service architecture and Kubernetes.

Linux
Deploy Node.js services using Linux permissions, SSH, networking and systemd, and troubleshoot them with logs.
Nginx
Serve static sites and configure reverse proxies, load balancing and HTTPS. Trace requests through Nginx logs.
Docker
Set up a local development environment with images, containers, volumes, Dockerfiles and Docker Compose.
BFF & Multi-Service
Split a Node.js app into services, aggregate APIs behind a backend for frontend and handle failed HTTP calls.
Microservices
Design, test and deploy cooperating user, order, inventory and simulated payment services with consistent data and observability.
Kubernetes Deploys
Configure workloads, health probes and rolling updates, then deploy, scale and troubleshoot apps in a Kubernetes cluster.