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 | 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...
by mguay | Apr 28, 2025 | Node.js, Post
Introduction: Why Benchmark Express vs Fastify Express has been the de facto web framework for Node.js since its launch in 2010, known for its simplicity and huge ecosystem of middleware and plugins (Express vs Fastify: A Performace Comparison | by Chetan Jain |...
by mguay | Apr 10, 2025 | NestJS, Node.js, Post
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...
by mguay | Mar 18, 2025 | DevOps, Node.js, Post
Introduction In Node.js development, one of the key architectural decisions is whether to build your application as a monolithic unit or as a collection of microservices. A monolithic architecture means your entire application (UI, server-side logic, database access,...