Let's learn about Nestjs via these 50 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the Learn Repo or LearnRepo.com to find the most read blog posts about any technology.
NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications. It leverages TypeScript and combines elements of OOP, Functional Programming, and FRP to provide a robust architecture.
1. Quick and Easy CRUD with NestJS, @nestjsx/crud and TestMace

These days REST API has become a web applications development standard, allowing to divide web development into two separate parts. There are several mainstream frameworks like Angular, React, Vue, that are used for UI. Backend developers are free to choose from large variety of languages and frameworks. Today I’d like to discuss NestJS framework. We’re going to create a simple CRUD application using Nest and the @nestjsx/crud package.
2. The Best NestJS Boilerplate to Start Your New Project

How to choose a starter kit / boilerplate for your next NodeJS + NestJS project? Boilerplates comparison
3. The Complete Guide to Deploying NestJS Application on Render

Learn how to seamlessly deploy your NestJS server applications using Render, a powerful alternative to Heroku.
4. The Most Convenient Ways of Writing Transactions Within the Nest.js + TypeORM Stack

If you have some troubles with transactions in Nest.js - this article will help you.
5. How I Solved the WebSocket Scaling Problem Without Breaking the Bank

A long time ago, I had to create a scalable system that could be capable of handling hundreds of simultaneous connections at not very high cost.
6. Building a Full Stack Airbnb Clone with Next.js, Tailwind CSS, Amplication, and More

Learn to create a Full Stack Airbnb Clone with Amplication: Low-code Next.js frontend, Tailwind CSS styling, JWT-based auth, Mapbox API maps, and more.
7. How to Implement Caching Efficiently in NestJS Using Redis

In this post, we’ll look at using Redis to give cache capabilities to a NestJS project. We’ll discuss Redis, what caching is, and the implementation procedure.
8. How to Build Microservices in Nest.JS

An example that demonstrates using NestJS as a base framework for building lightweight, well-structured and amazing microservices.
9. 5 Steps for Dockerizing NestJs With Prisma

Dockerize NestJS + Prisma in 5 steps
10. One-Time Password Generation Using speakeasy, Nest.js And MongoDB

Here, we have designed and developed a flow for OTP(One time password) for user registration and also blocking a user's account after the maximum retries for incorrect otp is exceeded.
11. How to Consume Kafka Messages With NestJS

In this article I will tell you how to implement your own kafka message consumer using the NestJs framework. I’ll also tell you how to write tests for it.
12. Using Redis Streams with NestJS: Part 1 - Setup

This is part 1 of a 3-part series, where we will explore how to use Redis streams with NestJS.
13. Creating a CLI App with NestJS: A Quick and Easy Step-by-Step Guide

Learn how to create robust Command Line Interface (CLI) applications using NestJS and the Commander library.
14. Create a Full Autocomplete Search Application with Elasticsearch, Kibana, NestJS and React

In this article, I will be walking you through how to set up elasticsearch on your PC.
15. Hammering at Clean Architecture

Who doesn’t like sharpshooting wood elves, chaos infested wastes and dwarfs digging deep under the mountain for treasures? Daring Sigmarite warrior priests and armour-clad chaos Chosen and all manner of other fantastic creatures? I know this might sound weird, but this is an article about programming! I’ve recently gained interest in trying to understand a bit more about Uncle Bob’s clean architecture design and, to do that, I’ve created a small app that I believe showcases some of the main strengths that I believe it has. Disclaimer: All Warhammer references are the property of Games Workshop and I also do not claim to be some clean architecture guru. But maybe this will help someone else with their first steps in grasping the concepts of this cool new toy I’ve found.
16. How to Create Your First NestJS App

In this article, I’m going to walk you through developing a simple todo rest application in NestJS and give you an overview of this framework.
17. How to Build a WebSocket Adapter In NestJs

How to work with a socket.io adapter on NestJs. Testing issues
18. Using Redis Streams with NestJS: Part 2 - Reading from Stream

This is part 2 of a 3-part series, where we will explore how to use Redis streams with NestJS.
19. Using Redis Streams with NestJS: Part 3 - Consumer groups

This is part 3 of a 3-part series, where we will explore how to use Redis streams with NestJS.
20. Serverless NestJS Automation on AWS Lambda

Your Ultimate Guide to NestJS Deployment on AWS Lambda
21. NestJS and Best Practices

NestJS is a Node.js framework that utilizes TypeScript for backend development.
22. How to Scale NestJS Applications: A Case Study of a High-Load Web Analytics Backend

A story of how to make NestJS application scale and being able to process thousands of requests per second.
23. Fast Development With NodeJS: NestJS Boilerplate

NodeJS NestJS boilerplate for fast starting a new backend project based on REST API
24. Secure Your NestJS App: How to Implement Authentication With Auth0

This guide will walk you through securing your NestJS app using Auth0.
25. Supercharge Your JavaScript Dockerfile for High-Performance Production Deployments.

A step-by-step guide on writing a Dockerfile for a NestJS project.
26. Here’s How to Integrate Stripe with NestJS Like a Pro

Integrating Stripe with NestJS allows you to build a structured and maintainable payment system.
27. Step Up Your Game and Start Using Nest

NestJs is an easy-to-learn and powerful framework. The beginner's guide for developers will teach you how to create an application using the NestJS framework.
28. Explaining What a Cache Stampede Is and How to Prevent It Using Redis

A cache stampede happens when expired cache triggers a flood of backend requests.
29. How to Master Distributed Cache in Nest.JS

Caching can be a thorn in any developer’s side. I’ve spent too many hours wrestling with slow APIs and overburdened databases.
30. MongoDB Support for NestJS Boilerplate With Hexagonal Architecture

NestJS Boilerplate with MongoDB support implementation with hexagonal architecture
31. NestJS Too Slow? Just Queue It!

Optimize your NestJS app with queue processing! Learn how to use Bull and Redis to offload tasks, improve performance, and scale efficiently.
32. Why I Chose 60 Lines of JavaScript Over NestJS for a Budget Project

Raw Node or NestJS? One dev builds, benchmarks, and stress-tests both to find the best backend setup for a $1K budget and a $6 VPS.
33. This NestJS Package Turns Email Setup from Nightmare to No-Brainer

The Nestjs-mailer package is a modern tool for building dynamic email templates and sending emails effortlessly.
34. Building a Scalable Node Abstract Repository for MongoDB

Lightweight abstract and polymorphic MongoDB repository implementation for Node.js apps
35. How To Setup Caching in Nodejs

How to use decorators to implement in a few lines of code a coaching mechanism for both node and web application
36. How to Set Up PostgreSQL with NestJS and Docker for Fast Local Development: A Quick Guide

Spin up a fast local NestJS + PostgreSQL dev setup using Docker. Clean, scriptable environment with full DB integration and zero local clutter.
37. Creating Microservices in Nest.js

This article attempts to demystify microservices by showing devs how to create a set of microservices using one of their favorite frameworks: Nest.js!
38. How I Created My Own Telegram Bot - Pt. 1

how I built a powerful Telegram bot and API library using NestJS.
39. Building AI Agents Doesn't Have to Be Rocket Science (Spoiler: It's Mostly API Calls)

Building AI agents isn’t as complex as it sounds. Learn how modern AI apps are mostly about smart API calls, streaming responses, and clean architecture
40. Optimizing User Input With Nest-Commander: A Quick Guide

Learn how to boost the functionality of your Nest-Commander application by incorporating user inputs effectively.
41. NestJS vs. Ditsmod: injection scopes

Good application modularity is closely related to the injector tree hierarchy that Dependency Injection (DI) creates.
42. If You Can’t Control the Storage, Control the Access

Recently, I've been thinking about how to make some of my crucial endpoints more secure when using locally stored JWT.
43. Ditsmod - A New NodeJS Framework Written in TypeScript

Ditsmod is a modular framework that is especially well suited for medium and large projects.
44. NestJS vs. Ditsmod: the features of providers

I decided to write this article while browsing NestJS issues, in particular A guard with dependencies can't be injected into another module.
45. Bad Validation Is Breeding Security Nightmares in NestJS

Discover the silent security risk lurking in your NestJS applications.
46. The HackerNoon Newsletter: Surviving the Google SERP Data Crisis (2/2/2025)

2/2/2025: Top 5 stories on the HackerNoon homepage!
47. The Ultimate Guide To Custom Role Based Access Without Third Party Libraries

Here, we have four roles: Sme, Sponsor, Admin, Operations.Initially, we had only 3 roles.Operations role was added later and Operations user has permissions similar to the Admin user.In the code, we had to replace every instance of if (user.type == USER_TYPES.ADMIN) with if (user.type == USER_TYPES.ADMIN || user.type == USER_TYPES.OPERATIONS).As this is time consuming and we can also miss many instances, we have created a roles module. In the roles module,the roles are defined along with their respective permissions as seen in Code (Part-III). Based on the permissions for each role, we will evaluate the authorization for the user in each of our controller methods.If the user has access, only then he will be granted the resources.
48. The HackerNoon Newsletter: HackerNoon Decoded: The Polls that Defined 2024 (1/26/2025)

1/26/2025: Top 5 stories on the HackerNoon homepage!
49. The HackerNoon Newsletter: Why You Cant Afford Off Days (1/20/2025)

1/20/2025: Top 5 stories on the HackerNoon homepage!
50. The HackerNoon Newsletter: 40 BTC Sayings in 280 Characters or Less (1/22/2025)

1/22/2025: Top 5 stories on the HackerNoon homepage!
Thank you for checking out the 50 most read blog posts about Nestjs on HackerNoon.
Visit the /Learn Repo to find the most read blog posts about any technology.
Originally published on HackerNoon.
Top comments (0)