A secure NestJS + Prisma API starter, piece by piece
Most NestJS tutorials stop at nest new and a controller. The part that takes time is everything that wraps the controllers: security headers, a CORS…
Latest DevOps news from Tech News
Most NestJS tutorials stop at nest new and a controller. The part that takes time is everything that wraps the controllers: security headers, a CORS…
Few months ago I started one of my Nest services in watch mode and got... nothing. No error, no "Nest application successfully started", no stack. T…
A stolen token doesn't need your password or your MFA code. Whoever holds it is, as far as your API can tell, you. This post compares three ways of…
By Shilpa Mareddy Two copies of an MCP (Model Context Protocol) server (a server that AI applications call tools on) sit behind a round-robin load b…
How an in-process scheduler turned one nightly job into N duplicate writes, and why I moved scheduling out of the app entirely. I was looking at sta…
I recently built a temporary message-sharing API from scratch using NestJS, PostgreSQL, Prisma and Redis . The idea is simple: Create a message, gen…
My team is rolling out ELK observability across four services, and I drew the short straw of instrumenting the first one: a NestJS API. I expected a…
Part 2 of a series building "Grimoire API" — a choose-your-own-adventure backend in NestJS, learned one milestone at a time. Part 1 covered controll…
Transaction control usually starts out tied to whatever implements it. An executor — a concrete class that opens a transaction over the project's OR…
Short answer: send structured log events from the NestJS custom logger to a backend API asynchronously, give every event a correlation ID that survi…
Built for the AI era: a production-ready TypeScript modular monolith with guardrails for robot coworkers. Every new project starts the same way. You…
If you are choosing a framework for a Node.js backend that will be more than one service, you will end up comparing NestJS and Moleculer. People ask…
Today I started experimenting with Tree-sitter . I had heard the name before, but I had never actually used it. My goal was simple: take a TypeScrip…
There are already good Redis tools for NestJS. Most of them mainly help you connect NestJS to Redis and use the Redis client. That's useful, but as…
The Criteria pattern in NestJS One single way to filter, sort and paginate any list. Five parameters and a find() The example running through this a…
For a production logistics agent, error tracking should use one failure envelope at every execution boundary, then attach cost and latency before th…
The canonical starting point for a NestJS module backed by TypeORM is the one the framework itself documents: the module declares TypeOrmModule.forF…
Next.js and NestJS are often compared as if you have to choose one. But that comparison is slightly misleading. Next.js is primarily a React framewo…
Build reliable NestJS webhooks for SaaS payments and integrations using signature verification, idempotency, durable inboxes, queues, retries, and o…
I built this delivery dispatch service to practice and master core backend engineering fundamentals in NestJS. Instead of just building a basic CRUD…
Most audit logs are a lie by omission. You write a row that says "user X deleted document Y at 12:03." A week later, an incident review pulls it up,…
Originally published on Medium on November 11, 2023. In this guide, we’ll speak about communication in a distributed system using AWS Lambda and Nes…
Welcome to Part 5—the grand finale of our "NestJS v12.0 vs. Ditsmod v3.0" series! Over the last four articles, we have unpacked the strict Dependenc…
Welcome to Part 3 of the "NestJS v12.0 vs. Ditsmod v3.0" series! In our previous articles, we explored the strict Dependency Injection hierarchies a…
If you are building enterprise-grade Node.js applications with TypeScript, chances are you are already deeply familiar with NestJS . It has become t…
In Monitoring a SaaS in Production we wired up metrics and alerts so the team knows something is wrong within minutes of it happening. Metrics tell…
In Structured Logging for Node.js , I covered how to turn scattered console.log calls into structured, queryable events. That solves the "what happe…
In Deploying a Full Stack SaaS , I got the app running in production on a single instance: Docker images, a CI/CD pipeline, one NestJS container and…
In the last article , I set up a pipeline that builds, tests, and deploys the monorepo automatically. That solves getting code out safely and repeat…
In Subscription Billing and Plans we wired up the part of the product that collects money. This article covers the part that gets people into the pr…