
Implementing Full-Text Search in NestJS with TypeORM and PostgreSQL
Learn how to build production-ready full-text search in NestJS with TypeORM and PostgreSQL, covering generated tsvector columns, GIN indexin...

Learn how to build production-ready full-text search in NestJS with TypeORM and PostgreSQL, covering generated tsvector columns, GIN indexin...

A code-first guide to adding WebAuthn passkey registration and login to a NestJS and PostgreSQL API: the schema, the service, the controller...

We added Redis to fix a slow endpoint and watched response times drop. Then came stale data, invalidation problems, traffic spikes, and data...

A refresh token system where every token is single-use and belongs to a token family. Invalid, expired, and revoked are routine. Reuse means...

A from-scratch background job pipeline in NestJS using BullMQ and Redis, demonstrated on an async LLM draft-generation endpoint — covering r...

A from-scratch implementation of TOTP-based two-factor authentication in NestJS, covering secret generation, QR code enrollment, partial vs....

IDOR is OWASP's top API risk for a reason. A single missing ownership check can expose customer data across your entire application. This gu...

Slow APIs with a clean slow query log trace to one of five root causes. Four have nothing to do with query execution. Here's how to identify...

SQL performance problems rarely come from the database itself — they come from inefficient queries. This guide covers the most common mistak...