Skip to content

Topic · 52 articles

Node.js

Building fast, reliable backends on the Node.js runtime.

Node.js is the runtime behind most of the backends I build. These articles cover the parts that actually decide whether a service holds up in production: the event loop and async model, streams and backpressure, error handling that does not swallow failures, and the profiling work that turns a slow endpoint into a fast one.

If you are moving from writing routes to designing services, the Node.js material here pairs closely with the NestJS, TypeScript, and System Design hubs.

Subscribe to Node.js via RSS

All Node.js articles

A NestJS Production Checklist — Aman Kumar Singh
Deploying NestJS to Production — Aman Kumar Singh
Security Best Practices — Aman Kumar Singh
Integration and E2E Testing — Aman Kumar Singh
Unit Testing Services — Aman Kumar Singh
gRPC Services in NestJS — Aman Kumar Singh
Microservices with NestJS — Aman Kumar Singh
The Outbox Pattern — Aman Kumar Singh
Event-Driven Architecture — Aman Kumar Singh
CQRS in NestJS — Aman Kumar Singh
Pagination and Filtering — Aman Kumar Singh
API Versioning — Aman Kumar Singh
API Documentation with Swagger — Aman Kumar Singh
Health Checks and Readiness Probes — Aman Kumar Singh
Logging with a Custom Logger — Aman Kumar Singh
Rate Limiting and Throttling — Aman Kumar Singh
Sending Emails from NestJS — Aman Kumar Singh
Server-Sent Events — Aman Kumar Singh
WebSockets and Gateways — Aman Kumar Singh
Scheduling and Cron Tasks — Aman Kumar Singh
Background Jobs with BullMQ — Aman Kumar Singh
Caching with Redis in NestJS — Aman Kumar Singh
Role and Permission Authorization — Aman Kumar Singh
Authentication with Passport and JWT — Aman Kumar Singh
Show all 52 articles
Configuration and Environment — Aman Kumar Singh
Middleware in NestJS — Aman Kumar Singh
Exception Filters and Error Handling — Aman Kumar Singh
Custom Pipes and Transformation — Aman Kumar Singh
Interceptors Explained — Aman Kumar Singh
Guards and Authorization — Aman Kumar Singh
DTOs and Validation Pipes — Aman Kumar Singh
Controllers and Routing — Aman Kumar Singh
Providers and Custom Providers — Aman Kumar Singh
Modules and Dependency Injection — Aman Kumar Singh
NestJS Architecture Overview — Aman Kumar Singh
Route Handlers and APIs in Next.js — Aman Kumar Singh
A Production Security Checklist — Aman Kumar Singh
Caching Strategies for a SaaS — Aman Kumar Singh
Scaling a SaaS Beyond One Server — Aman Kumar Singh
Deploying a Full Stack SaaS — Aman Kumar Singh
Feature Flags and Safe Rollouts — Aman Kumar Singh
Structured Logging for Node.js — Aman Kumar Singh
Monitoring a SaaS in Production — Aman Kumar Singh
Handling File Uploads Securely — Aman Kumar Singh
Sending Transactional Emails — Aman Kumar Singh
Session Management and Token Storage — Aman Kumar Singh
Multi-Factor Authentication (MFA) — Aman Kumar Singh
Refresh Tokens Done Right — Aman Kumar Singh
JWT Authentication in NestJS — Aman Kumar Singh
Setting Up Docker for Local Development — Aman Kumar Singh
Choosing Prisma or TypeORM for Your NestJS API — Aman Kumar Singh
Setting Up NestJS the Right Way — Aman Kumar Singh

Frequently asked questions

What Node.js topics does this hub cover?

Async patterns and the event loop, streams and backpressure, error handling, worker threads and concurrency, runtime security, and performance profiling — the fundamentals that decide how a Node.js backend behaves under load.

Is this Node.js content aimed at beginners or senior engineers?

It targets working engineers who already ship in Node.js and want production depth: why the event loop stalls, how to avoid memory leaks in streams, and how to reason about failure — rather than a first-week tutorial.