Best of NestJS2025

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·49w

    The NestJS Handbook – Learn to Use Nest with Code Examples

    NestJS is a progressive Node.js framework that combines object-oriented, functional, and reactive programming paradigms to build scalable server-side applications. Built on top of Express or Fastify, it provides a structured architecture using modules, controllers, and providers with built-in dependency injection. The framework offers TypeScript-first development, decorators for routing and validation, middleware support, guards for authorization, exception filters for error handling, and interceptors for response transformation. It includes comprehensive database integration options with TypeORM, Mongoose, and Prisma, along with built-in testing capabilities and CLI tools for code generation.

  2. 2
    Article
    Avatar of telerikTelerik·1y

    Build a Microservice Architecture with NestJS

    NestJS simplifies the process of building a microservice architecture due to its modular structure and developer-friendly features. Microservices offer advantages like independent scalability, reduced downtime, quicker development, and the freedom to use different technologies for different services. The post provides a step-by-step guide to building simple Math and String microservices and a gateway service to communicate with them using TCP protocol.

  3. 3
    Article
    Avatar of nestjsdevsNestjs Developers·1y

    Modulith with NestJS - A Practical Approach to Better Monolithic Applications

    Learn to leverage the NestJS framework to create structured, maintainable, and scalable monolithic back-end applications. This approach minimizes future challenges of migrating to microservices using a modular design inspired by hexagonal architecture. A well-designed monolith serves as a strong foundation for growth, ensuring easier management and scalability.

  4. 4
    Article
    Avatar of rubylaRUBYLAND·36w

    How to Choose a Node.js Framework

    A comprehensive guide comparing popular Node.js frameworks including Express, Fastify, Koa, NestJS, and Next.js. Covers each framework's strengths, performance characteristics, learning curves, and ideal use cases. Express offers flexibility and ease of use, Fastify prioritizes performance, Koa provides modern minimalism, NestJS delivers enterprise-grade structure, and Next.js enables full-stack React development. Includes practical decision-making criteria based on project requirements like performance needs, team size, and application complexity.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Write Unit Tests and E2E Tests for NestJS Applications

    Learn how to write unit tests and E2E tests for NestJS applications. This guide covers the fundamentals of testing, how to mock data, and the importance of unit test coverage. It includes practical examples and a demo project to help you understand the process. The tutorial also discusses when it's appropriate to write tests and the benefits of testing in enhancing system robustness and maintainability.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·25w

    Learn NestJS for Beginners

    A comprehensive 2-hour video course covering NestJS fundamentals through building a profile feature for a developer dating app. The course teaches core concepts including modules, controllers, services, decorators, pipes, guards, and exception handling. Students will learn to implement CRUD operations, validation, error handling, and security while building a real-world backend application with hands-on challenges.

  7. 7
    Article
    Avatar of telerikTelerik·41w

    Integrate Kafka with NestJS for Event-Driven Microservices

    A comprehensive guide to building event-driven microservices using Kafka and NestJS. Covers setting up Kafka with Docker, creating producer and consumer services, implementing message patterns, handling retries and offset management. Demonstrates building an order processing system with two microservices that communicate asynchronously through Kafka events, including practical configuration examples and error handling strategies.

  8. 8
    Article
    Avatar of nextjsNextJS·1y

    New Next.js-powered & open-source framework for composable frontends

    Open Self Service is an open-source development kit designed to build composable Customer Service Portals. It integrates multiple APIs and headless services to decouple the backend from the frontend, offering features like a Next.js starter app managed with Strapi, an API harmonization server, and SDK integrations. The project is developer-focused, built with TypeScript, Next.js, React, NestJS, and Tailwind, and is highly customizable and extensible.

  9. 9
    Article
    Avatar of the_react_communityThe React Community·1y

    From HTML Templates to Well-Formatted PDFs: Using Puppeteer and NestJs

    Learn how to generate well-formatted PDFs using Puppeteer and NestJS in your projects. This guide covers dynamic and versatile document creation with these powerful tools.

  10. 10
    Article
    Avatar of telerikTelerik·45w

    Learning NestJS Part 1: Getting Started

    A beginner-friendly guide to building your first NestJS application. Covers installation of Node.js and Nest CLI, project scaffolding, creating controllers and services, implementing GET and POST endpoints, and using dependency injection. The tutorial uses a JavaScript array for data storage and demonstrates basic CRUD operations through practical examples.