跳转到主要内容

Contents

Resources

Official Resources

Community

Talks

Tutorials

Examples

Boilerplate

  • 🧪 Fully tested NestJS Prisma Clean Architecture Boilerplate - This boilerplate shows how to test your NestJS API with unit, integration and e2e tests. Use-cases are written in functionnal programming with FP-TS.
  • NestJS Permission Boilerplate - This is a basic NestJS boilerplate project built on the more powerful Node.js framework. The main purpose of this project is to dynamically handle roles and permissions assigned to the user.
  • SQB NestJS Boilerplate - A production-ready 🏭 NestJS boilerplate with batteries 🔋 included. No Kidding!.
  • Nest BFF - A boilerplate BFF web application starter-project using NestJS. Includes CLI, and MongoDB migrations features.
  • NestJS Template - Scaffold your next TypeScript API with this production-ready NestJS template crafted for Docker environments.
  • MEAN Todo with NestJS - A simple Todo application with NestJS and Swagger. Included Authorization/Authentication.
  • NestJS Boilerplate - Boilerplate with available authentication, typeorm, env configuration and swagger. Everything you need to start making great things.
  • Awesome Nest Boilerplate - Typescript, Postgresql, TypeORM, Swagger for Api documentation, Role base access control, and best application architecture.
  • NestJS Prisma Starter - Starter project for NestJS includes Graphql with Prisma Client, Passport-JWT authentication, Swagger Api and Docker.
  • TeanJS - TeanJS is a starter that provides you all the keys to be able to start writing your code as quickly as possible.
  • NestJS DDD Boilerplate - Domain Driven Design Base app with NestJS, Class Validator and TypeORM. SOLID principles applied to create fully testable applications.
  • Nest Mongo Graphql - Starter Kit using NestJS MongoDB Graphql and type-graphql inspired the type schema first approach.
  • Ultimate Backend - Enterprise multi-tenant SaaS starter kit with CQRS GraphQL microservice architecture, apollo federation, event source and authentication.
  • NestJS GraphQL Boilerplate - Dockerized API boilerplate with NestJS, TypeORM, TypeGraphQL, MongoDB, GraphQL and automated tasks with Makefile. Code first approach.
  • NextJS & NestJS GraphQL Starter - GraphQL NestJS with NextJS boilerplace. Includes GitHub, Reddit & Google OAuth.
  • The Knests Stack - Full stack/end starter with: PostgreSQL, Knex.js, NestJS, Next.js, GraphQL, React, Material-UI, Docker multistage images for, Docker compose and a GitLab CI/CD pipeline fully configured.
  • Nest Hackathon Starter - Hackathon starter project for NestJS. Includes Prisma, email verification, Passport-JWT authentication, Swagger and more.
  • Stator - A full-stack boilerplate that does it all - automatic releases, deployments, enforced conventions.
  • NestJS REST Starter Kit - By MonstarLab - Features: JWT Auth, RBAC Authorization, TypeORM, winston logger, Pagination, Auto-generated Swagger. Other: prettier, commit-linting husky hooks, SonarCloud, docker-compose.
  • NestJS Api Boilerplate JWT - An API Boilerplate to create a ready-to-use REST API in seconds with NestJS + TypeORM and Passport Auth JWT.
  • NestJS REST API boilerplate for typical project - Boilerplate with Auth, TypeORM, PostgreSQL, Mailing, I18N, Docker, File uploads (support local and Amazon S3 drivers), Swagger, Tests, CI.
  • NestJS and Prisma Yarn Monorepo Starter Template - Full-stack monorepo starter (Yarn workspaces) with Prisma, GraphQL, CI and more.
  • Truthy NestJS Headless CMS - Open source headless CMS API written using NestJS, that has built-in modules like User Management, Role Management, Permission Management, Email Module, Account Settings, 2FA settings, Throttling, RBAC support, Localization, frontend application written with ReactJS & Redux Saga, UI built with Ant design and many more. Other: unit test using Jest, prettier, commit-linting husky hooks, PostgreSQL, Redis, docker etc.
  • NestJS Realtime Chat - Boilerplate for a realtime chat based on Websockets, TypeORM, PostgreSQL, REST, Docker which includes PassportJS/JWT auth, rooms, kick/ban user functionality
  • Nest Sequelize JWT - Starter kit Nest + Sequelize + jwt.
  • Nest sequelize-typescript - Nest + sequelize-typescript + JWT + Jest + Swagger.

Projects using NestJS

Open Source

  • Ever® - Open-Source Commerce Platform for On-Demand Economy and Digital Marketplaces.
  • Feednext - Open-Source Social Media Application.
  • Gauzy - Open-Source Profits Sharing Platform for modern agencies and studios.
  • LXDhub - Management system for Linux Containers (LXC).
  • Notadd - Microservice development architecture.
  • Pimp My PR - Open-Source platform for statistics and pull request management.
  • ToolJet - ToolJet is the open-source low-code framework alternative to Retool & Mendix to build & deploy internal tools with minimal engineering effort. (Source CodeGPL-3.0
  • Vendure - Open-Source headless GraphQL ecommerce framework built on NestJS, with a focus on developer productivity and ease of customization.
  • iola - Socket client with Rest API.
  • Amplication - Amplication is an open-source low-code devtool that auto-generates backend apps built with TypeScript and Node.js, and a client built with React.

Components & Libraries

Utilities

  • @nestjs/cqrs - A lightweight CQRS module for Nest framework.
  •  @nestjs-architects/typed-cqrs - A wrapper for the Nest CQRS library for better typing of query and command results.
  •  nestjs-config - A Great module to handle project configurations.
  •  nest-typed-config - Intuitive, type-safe configuration module for Nest framework.
  •  @nestcloud/cli - A Node.js micro-service solution based on Consul, writing by Typescript language and NestJS framework.
  •  nestjs-easyconfig - A NestJS module for managing configs that provides some sleek features.
  •  nest-schedule - Schedule job easier by decorator.
  •  nest-queue - Easy queue management based on Redis for your application.
  •  NestJS Toolbox - The repository contains a suite of components and modules for NestJS.
  •  nestjs-multer-extended - Extended MulterModule for NestJS framework with flexible Amazon S3 upload and helpful features.
  •  nestjs-cls - A continuation-local storage module for Nest (using async_hooks)
  •  nestjs-http-promise - A Promise-based alternative to @nestjs/axios, with retries feature using axios-retry and axios.

Code Style

Web Sockets

Redis

Mail

API

Middleware

Errors

  •  @squareboat/nest-eyewitness - Receive error reports directly to your inbox whenever any exception is witnessed 👀 in your NestJS application.
  •  nestjs-flub - Pretty Error 😫 Stack Viewer for NestJS Framework 🛠️.
  •  nestjs-enlighten - A laravel-ignition like error page for NestJS Framework.
  •  nestjs-rate-limiter - A highly configurable rate limiter library.
  •  nest-raven - Sentry Raven (@sentry/minimal) Module for NestJS Framework.

Lint

Router🚦

  •  nest-router - Router Module For NestJS Framework 🚦 🚀 for organizing your Routes, creating a routes tree, and more.

Dialogflow 📡

  •  nestjs-dialogflow - Dialog flow module that simplify the web hook handling for your NLP application using NestJS.

Logging

  •  nest-winston - Winston module for NestJS.
  •  nestjs-pino - Pino module for NestJS Log with request context in any place.
  •  @ogma/* - A monorepo for the Ogma logger and related packages.

Monitoring

Internationalization (i18n)

  •  nestjs-i18n - Adds i18n support easily to your server, with a rich formatting api build in.

Currency

Event

  •  nest-event - Event handling with decorators for NestJS Framework.

Auth

RBAC (Role-based access control)

  •  nestjs-rbac - RBAC module for NestJS, with a dynamic storage and cache.
  •  nestjs-keycloak-admin - Keycloak Admin Client with support for User Managed Access protocol.
  •  nestjs-oso - Library that simplifies the implementation of OSO (open-source policy engine for authorization).

Multi Tenancy

  •  nestjs-mtenant - A module for NestJS to enable multitenancy support with deep integration into the system as whole (based on async_hooks).

Microservice

Database

  •  nestjs-prisma - Library and schematics adding Prisma integration to a NestJS application

Testing

Collections of examples

  • Testing Nestjs - A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!

Utilities

  • @golevelup/ts-jest - Utilities for making testing NestJS applications easier. Currently supports Jest.
  • mockingbird - A library to create typed tests fixtures/mocks using decorators and built-in faker support
  •  NestJS + Pact - Injectable Pact.js Consumer/Provider for NestJS

Integrations

Auth

Databases

GraphQL

  •  @golevelup/nestjs-graphql-request - Easily inject and work with GraphQLClient instances from server side NestJS code. Useful for interacting with third party GraphQL APIs.
  •  @golevelup/nestjs-hasura - NestJS integrations for working with Hasura which provides realtime GraphQL APIs over your Postgres Database.

Pattern

Editors

AMQP

  •  nestjs-amqp - An amqp connection manager.
  •  nestjs-rmq - A custom library for NestJS microservice. It allows you to use RabbitMQ or AMQP.
  •  @golevelup/nestjs-rabbitmq - Flexible AMQP integrations for NestJS that supports multiple messaging patterns and intuitive decorators.

EventStore

Payment Gateways

Frontend

Scheduling

Workflow Automation

Chatbots

File Storage

Cloud Managed Configuration

  •  @nonfig/nestjs-config - A module for Nonfig Configuration Management Service. Nonfig combines Configurations and Features. So you change features, and release swiftly, and measure to digital impact.

SDK

Runtime

Command Line / Terminal

原文:https://github.com/nestjs/awesome-nestjs