Building a NestJS App with SWC: A Step-by-Step Guide

Building a NestJS App with SWC: A Step-by-Step Guide

NestJS is a powerful TypeScript framework, but its default compilation (using the TypeScript compiler, tsc) can become a bottleneck as projects grow. SWC (Speedy Web Compiler) is a Rust-based compiler that promises significantly faster build times (up to ~20× faster...
Deploy NestJS on Railway with Postgres & Docker

Deploy NestJS on Railway with Postgres & Docker

In this video, I’ll walk you through how to deploy a NestJS application to Railway, fully containerized with Docker, and connected to a PostgreSQL database. You’ll learn how to configure your Dockerfile, set up environment variables, and get your app live with just a...
Optimizing NestJS Performance with HTTP Keep-Alive

Optimizing NestJS Performance with HTTP Keep-Alive

HTTP Keep-Alive, also known as HTTP persistent connection, is the practice of reusing a single TCP connection to send multiple HTTP requests and responses, instead of opening a new connection for every request (HTTP persistent connection – Wikipedia). In modern...
NestJS + Next.js: Event Driven Architecture

NestJS + Next.js: Event Driven Architecture

In this lecture, you'll learn how to build an event-driven architecture that seamlessly connects a NestJS backend with a Next.js UI using EventEmitter and Server-Sent Events (SSE). By the end of this lecture, you'll have a fully functional event-driven system, where...