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 Open Source 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…
Start with the boundary: who sends this data, who owns its meaning, and who is allowed to change it? In a NestJS hexagonal architecture, use transpo…
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…
Hello everyone! Hope you are having a great day. 🖐️ There is always that foundational boilerplate code in NestJS projects that takes up most of our…
A practical walkthrough of how I built this very portfolio — covering Static Site Generation, JSON-LD structured data, Open Graph images, and a 68-k…
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…
Transactions promise a simple guarantee: either everything commits, or nothing does. And yet, in a NestJS application with a repository layer, it is…
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…
Every time you build a SaaS product, you hit the same wall: spending the first few days re-writing multi-tenant architecture, handling tenant contex…
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,…
A few weeks ago I shared nestjs-docfy here — a library that moves Swagger decorators out of NestJS controllers into companion *.controller.docs.ts f…
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…