by mguay | Oct 12, 2025 | Lecture, NestJS
In this lecture, we’ll build a complete NestJS project using Hexagonal Architecture and CQRS from the ground up. You’ll learn how to structure your code around core domain logic, application services, and infrastructure adapters — creating a clean, maintainable, and...
by mguay | Sep 3, 2025 | NestJS, Post
When building APIs, especially for payments or operations that modify state, you want to avoid executing the same request multiple times if the client retries. Stripe popularized the concept of idempotency keys: clients attach a unique key to a request, and the server...
by mguay | Aug 25, 2025 | NestJS, Next.js, Post
When you’re building a modern API with NestJS and tRPC, authentication is usually one of the first hurdles. Instead of rolling your own, you can use Better Auth, a lightweight authentication service that integrates seamlessly with NestJS. In this post, I’ll show you...
by mguay | Aug 9, 2025 | NestJS, Node.js, Post
Encrypting database traffic isn’t optional—especially if you’re handling user data or building anything that might one day need audits or certifications. Fortunately, enabling SSL/TLS for Postgres on AWS RDS with Drizzle ORM (node-postgres) in a NestJS app is...
by mguay | Jul 10, 2025 | Lecture, NestJS
Experience blazing-fast performance by running your NestJS apps on Bun, with instant startup times, a lightning-quick package manager, and the ability to execute TypeScript directly without a separate build step. See how Bun can streamline your workflow while...
by mguay | Jun 18, 2025 | NestJS, Post
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...