Awesome NestJS¶
与 Nestjs 有关的精彩事物的精选清单
资源¶
官方资源¶
- Website
- Official Guide
- GitHub Repo
- Examples
- Nest Starter - Nest framework TypeScript starter.
- JavaScript Starter - Nest framework JavaScript (ES6 / ES7 / ES8) starter.
社区¶
- Discord
- Telegram (community maintained)
- Telegram (Brazilian Portuguese speak community)
- Telegram (Russian speak community)
- Telegram (Ukrainian speak community)
- Slack (Korean speak community)
- Reddit (community maintained)
- Facebook (Polish speak community)
会谈¶
教程¶
- NestJS content on Dev.to: articles made by the core team; articles made by the community.
- Blog of Trilon (NestJS creator's company).
- NestJS30Days - Learn the NestJS framework in 30 days.
- Build a geofencing web app using NestJS and the Google Maps API
- Build live comments with sentiment analysis using NestJS
- Build a chat app with sentiment analysis using NestJS
- Create a realtime graph using NestJS
- Build a realtime table with DataTables and NestJS
- NestJS Basic Auth and Sessions
- NestJS Hasura Integration via Schema Stitching And JWT Auth
- MEAN Stack with NestJS and Swagger
- YouTube playlist by Kelvin Mai: NestJS Ideas API - A project based course on Full Stack Typescript covering NestJS, GraphQL PostgreSQL, Angular and NgRx.
- Building a real time web applications using NestJS and Ably
- YouTube playlist by Codeforges TM: Angular + NestJs Tutorials - Building a full-stack blog with NestJS, Angular and Angular Material.
- Udemy free course: The complete NestJS developer. Enterprise Node.js framework - The complete guide for developers how to create enterprise ready applications using NestJS framework.
例子¶
- ChatServer - Server side of Chat App implemented using NestJS.
- Domain Driven Design - Library - Example of an application that follows Domain Driven Design.
- Realworld Example App - Exemplary real world backend API built with NestJS + TypeORM.
- Mant - New Stack on the Market to beat them all MANT.
- REST NestJS Postgres - CrudJS implemented as a REST API, using NestJS and Postgres.
- Nest Permissions Seed - A simple application demonstrating the basic usage of permissions with NestJS.
- Angular NestJS Rendering - Angular 5+ server side rendering using NestJS.
- Angular Contact Manager App - A Contact Manager App using Angular, NestJS, Mongoose, Passport, JWT.
- Books Library API - A restful API with NestJS and mongoose.
- Passport Auth NestJS - Passport strategies and oauth integration built with NestJS.
- NestJS Auth0 - An example NestJS application that uses Auth0 via Passport for authentication.
- Nest Ideas API - An implementation of a REST and GraphQL server built with NestJS, PostgresQL and TypeORM.
- Nestcloud Starter - Quickly start a micro-service app use nestcloud.
- Nodepress - A RESTful API server application for Blog CMS.
- Serverless-Lambda-DynamoDB - A fully SERVERLESS in-production application with AWS Lambda, DynamoDB, DynamoDB Streams.
- Serverless-Lambda-FirestoreDB - A fully SERVERLESS in-production application with AWS Lambda, FirestoreDB, Firebase Auth, Winston Logger, Swagger. Also implements admin role authorization.
- Serverless NestJS TypeOrm - Example how to NestJS using the serverless framework with TypeORM.
- Passport Email Auth - Starter project that includes API for user email authentication with MongoDB and PassportJs.
- NestJS Project Structure - Example of constructing a project structure with NestJS.
- NestJS Elasticsearch Vue - Autocomplete search with NestJS, Elasticsearch and Vue.
- TypeScript Clean Architecture - Clean Architecture based application with NestJS, PostgreSQL and TypeORM.
- NestJS Api Mongoose - Simple example Api Rest with Nestjs 8.x and Mongoose
样板¶
- 🧪 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 的延续本地存储模块 (usingasync_hooks
) -
nestjs-http-promise
-@nestjs/axios
的基于承诺的替代方案,并具有使用axios-retry
和axios
的重试功能。 -
nestia-helper
: Boost upJSON.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.
代码样式¶
- StyleGuide 和编码惯例 - 非官方的 TypeScript 样式指导。
网络插座¶
Redis¶
-
@nestjs-modules/ioredis
- 嵌套框架的 ioredis 模块。 -
@liaoliaots/nestjs-redis
- Nestjs 框架的 Redis(Ioredis)模块。
Mail¶
-
@squareboat/nest-mailman
- The only 📮 mailer package you need for your NestJS Applications. -
@nestjs-modules/mailer
- A mailer module for Nest framework.
API¶
@nestjs/swagger
- This's an OpenAPI (Swagger) module for Nest. [Tutorial].-
nestjs-asyncapi
- AsyncAPI module for NestJS. -
@nestjs-query/*
- Nest CRUD for GraphQL APIs. -
nestia
- 自动 SDK 和 Swagger Generator,比以往任何时候都进化。
中间件¶
-
@nest-middlewares/*
- Nestjs 的常见,可注射的中间菜。
错误¶
-
@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¶
-
eslint-plugin-nestjs
- ESLint rules for NestJS framework. -
@darraghor/eslint-plugin-nestjs-typed
- ESLint rules for NestJS framework.
路由器 🚦¶
-
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.
监视¶
@nestjs/terminus
- Integrated healthchecks, based on Terminus package.-
@metinseylan/nestjs-opentelemetry
- Deeply integrated NestJS OpenTelemetry module with auto instrumentations. -
nest-status-monitor
- Simple, self-hosted module based on Socket.io and Chart.js to report realtime server metrics for NestJS based node servers. -
@narando/nest-xray
- Record incoming and outgoing request for AWS X-Ray, also supports custom instrumentation. -
nestjs-otel
- OpenTelemetry module for NestJS. -
nestjs-hot-shots
- Hot-shots Module for NestJS. A Node.js client for Etsy's StatsD server, Datadog's DogStatsD server, and InfluxDB's Telegraf StatsD server. -
nestjs-prometheus
- NestJS module for Prometheus.
国际化 (i18n)¶
-
nestjs-i18n
- Adds i18n support easily to your server, with a rich formatting api build in.
货币¶
-
nestjs-cashify
- Currency conversion module for NestJS.
事件¶
-
nest-event
- 带有装饰器的活动处理,用于 Nestjs 框架。
认证¶
-
nestjs-session
- 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-pg-notify
- NestJS custom transport strategy for PostgreSQL Pub/Sub. -
nestjs-transport-eventbus
- The module for Nest to allow broadcasting events via variety of nestjs trasports in easy way -
nestjs-google-pubsub-microservice
- Custom Google Cloud Pub/Sub microservice transport
数据库¶
-
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¶
- Nest + Auth0 - Nestjs 框架 Web 应用程序具有 Auth0。
-
@tfarras/nestjs-firebase-auth
- 使用 Firebase Admin SDK 使用 Firebase Auth 的 Nestjs 护照策略
数据库¶
@nestjs/typeorm
- A TypeORM module for Nest framework [Tutorial].@nestjs/mongoose
- A Mongoose module for Nest framework.-
typeorm-factories
- A TypeORM Entities factories. Useful for NestJS unit testing. -
nest-transact
- The simplest transactions using with Nest and TypeORM -
nestjs-typegoose
- A Typegoose module for Nest framework. -
@mikro-orm/nestjs
- A MikroORM module for Nest Framework. - Nest Prisma - A Fully Type-Safe ORM for NestJS.
-
nestjs-tile38
- A Tile38 module for Nest framework.
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.
图案¶
-
nestjs-typeorm-paginate
- A simple function and interfaces for pagination. -
@jashkasoft/nestjs-json-rpc
- JSON RPC transport layer for the NestJS framework.
编辑器¶
- VSCode
- NestJS Files - 快速创建 Nestjs 文件。
- NestJS Snippets -VSCODE NESTJS 代码段。
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.
事件库¶
-
nestjs-geteventstore
by PrestaShopCorp - An evenstore.org module for NestJS CQRS with Projects and Subscriptions. Supports Eventstore 21.10.0+ -
@juicycleff/nestjs-event-store
- An evenstore.org module for NestJS CQRS with adapter support to persist lastcheckpoint for Catchup subscription. -
@ocoda/event-sourcing
- An Event Sourcing and CQRS module for NestJS with support for MongoDB and DynamoDB.
付款网关¶
-
nestjs-braintree
- A module for webhooks and transactions. -
nestjs-stripe
- A module for injecting a configured Stripe client into your services. -
@golevelup/nestjs-stripe
- Injectable client plus autowired Stripe webhook handling for deeper integrations.
前端¶
-
@fusionworks/ra-data-nest-crud
- A React Admin data provider for NextJS CRUD. -
@adminjs/nestjs
- NestJS plugin for AdminBro, an automatic admin interface which can be plugged into your application. -
@forestadmin/agent
- NestJS compatible plugin for Forest Admin, an off-the-shelf administration panel based on a highly-extensible API plugged into your application.
调度¶
@nestjs/bull
- 巢框架的牛模块。
工作流自动化¶
聊天机器人¶
-
nestjs-telegraf
- 使用 Nestjs 创建电报机器人的模块, 基于 Telegraf. -
necord
- 一个用于使用 Nestjs 创建 DISORD 机器人的模块, 基于 Discord.js.
文件存储¶
-
@codebrew/nestjs-storage
- A manage file storage module(flydrive) for NestJS Framework.
云管理配置¶
-
@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¶
-
@tfarras/nestjs-firebase-admin
- NestJS Module for Firebase Admin SDK.
运行¶
命令行 /终端¶
@nestjs/cli
- CLI tool for NestJS applications.-
nest-commander
- A module for using NestJS to build up CLI applications -
generator-nestjs-app
- Nestjs 应用程序的 Yeoman Generator。 -
nestjs-console
- A NestJS module that provide a cli to application. -
nest-sdk-generator
- 命令行实用程序,从 nest.js Rest API 生成完全键入的 SDK
聚会¶
- NestJS Meetup - 社区驱动的聚会
贡献¶
欢迎捐款!首先阅读[贡献指南](贡献指南)。
执照¶
根据法律的可能范围,``朱利安达维德姆''放弃了所有版权, 相关或邻近的这项工作权利。