跳转至

Awesome NestJS

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

与 Nestjs 有关的精彩事物的精选清单

资源

官方资源

社区

会谈

教程

例子

样板

  • 🧪 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.
  • Samchon Backend - Template project for NestJS which utilizes Nestia, Safe-TypeORM and PostgreSQL. It supports developers to follow the TDD (Test Driven Development) and BDD (Behavior Driven Development) principles. Documents are well-formed and additional example projects are provided.
  • NestJS Starter - Starter for BFF, MS and API Rest with NestJS, scalable by environments with centralized configuration to use GitOps, CI/CD with GitHub Actions, Dockerization, Conventional commits, versioning, etc... and much more.
  • NestJS HTTP Boilerplate - A template for NestJS, Fastify, Typegoose, Vitest, custom Logger implementation, Redis and more, fast and simple boilerplate.
  • Ultimate NestJs - Nestjs template with Mikroorm, postgres, i18n , twilio, CI/CD with Github actions, conventiona commits with cz and husky, caching, mailer , sentry. Extended ESLint config for best practices. Also has nest's new repl added
  • Zen NestJS Prisma Apollo Angular Starter - An Nx monorepo for creating user portals as a progressive web application. Zen integrates the most widely adopted dependencies within the NestJS, Prisma, Apollo & Angular eco-systems. Code generating the entire data access layer for you.

使用 Nestjs 的项目

开源

  • Ever® - 用于按需经济和数字市场的开源商务平台。
  • Feednext - 开源社交媒体应用。
  • Gauzy - 现代机构和工作室的开源分享分享平台。
  • LXDhub - Linux 容器的管理系统 (LXC).
  • Notadd - 微服务开发体系结构。
  • Pimp My PR - 用于统计和拉出请求管理的开源平台。
  • ToolJet - ToolJet 是 ReTool&Mendix 的开源低代码框架替代方案,可通过最少的工程工作来构建和部署内部工具。 (源代码) GPL-3.0
  • Vendure - 开源无头 GraphQL 电子商务框架建立在 Nestjs 上,重点是开发人员的生产力和易于自定义。
  • iola - 带有 REST API 的插座客户端。
  • Amplication - 放大是一种开源低代码 DevTool,它可以自动生成使用 Typescript 和 node.js 构建的后端应用程序,并且是用 React 构建的客户端。

组件和库

公用事业

  • @nestjs/cqrs - 用于 Nest 框架的轻量级 CQRS 模块。
  • @nestjs-architects/typed-cqrs - Nest CQRS 库的包装器,以更好地键入查询和命令结果。
  • nestjs-config - 处理项目配置的绝佳模块.
  • nest-typed-config - Nest 框架的直观,类型安全配置模块.
  • @nestcloud/cli - 基于领事的 Node.js Micro-Service 解决方案,用 TypeScript 语言编写和 Nestjs 框架
  • nestjs-easyconfig - 用于管理配置的 Nestjs 模块,可提供一些时尚的功能.
  • nest-schedule - 安排工作更容易由装饰员安排。
  • nest-queue - 简单的队列管理基于您的应用程序。
  • NestJS Toolbox - 存储库包含一套 Nestjs 的组件和模块。
  • nestjs-multer-extended - 具有灵活的 Amazon S3 上传和有用功能的 Nestjs 框架的扩展 Multermodule。
  • nestjs-cls - Nest 的延续本地存储模块 (using async_hooks)
  • nestjs-http-promise - @nestjs/axios的基于承诺的替代方案,并具有使用axios-retryaxios的重试功能。
  • nestia-helper: Boost up JSON.stringify(), of the API responses, 2x times faster.
  • NestJS Toolkit - This toolkit is intended to be used in NestJs Starter, or any project that uses a centralized configuration, following the same architecture of the starter. Pks: http-client, typeorm, redis, filter exceptions, test utilities with test containers.

代码样式

网络插座

Redis

Mail

API

中间件

错误

  • @squareboat/nest-eyewitness - 每当您的 Nestjs 应用程序中见证任何例外时,直接将错误报告接收到您的收件箱。
  • 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.
  • nestjs-sentry - Another NestJS Sentry module, with injectable sentry client.

Lint

路由器 🚦

  • nest-router - Nestjs 框架 🚦 🚀 的路由器模块,用于组织路线,创建路由树等。

对话流 📡

  • nestjs-dialogflow - 对话框流量模块,可简化使用 Nestjs 的 NLP 应用程序的 Web 挂钩处理。

日志

  • 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.

监视

国际化 (i18n)

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

货币

事件

  • nest-event - 带有装饰器的活动处理,用于 Nestjs 框架。

认证

RBAC (基于角色的访问控制)

  • 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).

多租户

  • nestjs-mtenant - NESTJS 的模块,可以使多种支持在整个系统中深入集成到系统中 (基于 async_hooks).

微服务

数据库

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

测试

示例的集合

  • 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!

公用事业

  • @golevelup/ts-jest - 使测试 Nestjs 应用程序更容易的实用程序。目前支持开玩笑。
  • mockingbird - 使用装饰器和内置的伪造者支持创建打字测试固定装置/模拟的库
  • NestJS + Pact - Nestjs 的注射 pact.js 消费者/提供商

集成

auth

数据库

GraphQL

图案

编辑器

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.

事件库

付款网关

前端

调度

工作流自动化

聊天机器人

文件存储

云管理配置

  • @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

运行

命令行 /终端

聚会

贡献

欢迎捐款!首先阅读[贡献指南](贡献指南)。

执照

CC0

根据法律的可能范围,``朱利安达维德姆''放弃了所有版权, 相关或邻近的这项工作权利。