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 Architecture 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…
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…
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…
I recently built a temporary message-sharing API from scratch using NestJS, PostgreSQL, Prisma and Redis . The idea is simple: Create a message, gen…
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…
410 вариантов писем, сотня микросервисов и до 15 файлов, которые приходилось править ради одной нотификации. Добавление письма превратилось в квест:…
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…
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…
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…
Last time, in Accepting Payments with Stripe , I covered the part everyone assumes is the hard bit: taking a card and moving money. It isn't, really…
We spent the last article making the app fast. This one is about making sure it's still standing when someone tries to break it. That's the uncomfor…
A compliance officer at a bank was preparing for an upcoming audit when she asked a question nobody on the engineering team had a clean answer to. E…
A loan officer at a small digital bank was excited about the new model the data team had built. It could score a loan application in under a second,…
A finance officer at a mid sized bank was closing out the month when the numbers refused to line up. Customer accounts held a few cents more, in tot…
Your .env files are validated and out of Git by now, thanks to the last article on managing environment variables and secrets . The app boots with t…
Most AI tutorials teach you how to send a prompt to an LLM and display the response. That's enough for a demo. But building AI features that are rel…