Awesome NestJS
A curated list of awesome things related to NestJS
Resources Contribution guide Official documentation
Contents
- Resources
- Projects using NestJS
- Components & Libraries
- Testing
- Integrations
- Runtime
- Meetups
- Contribute
- License
Resources
-
Official Resources
- Website
- Official Guide
- GitHub Repo
- Examples
- Nest Starter - Nest framework TypeScript starter.
- JavaScript Starter - Nest framework JavaScript (ES6 / ES7 / ES8) starter.
-
Community
-
Talks
-
Tutorials
- Introduction to modern Node.js framework
- NestJS Node Express - Teach how to use NestJS step by step.
- Build web applications with Nest
- 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
- NestJS Ideas API
- Building a real time web applications using NestJS and Ably
- Video Tutorials - Building a full-stack blog with NestJS, Angular and Angular Material.
- Free Video Course - The complete NestJS developer. Enterprise Node.js framework.
-
Examples
- ChatServer - Server side of Chat App implemented using NestJS.
- 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
-
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 https://typegraphql.ml/ 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.
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 Code)
GPL-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.
Components & Libraries
- Utilities
- Nest CQRS - A lightweight CQRS module for Nest framework.
- Typed CQRS - A wrapper for the Nest CQRS library for better typing of query and command results.
- Nest Config - A Great module to handle project configurations.
- Nest Typed Config - Intuitive, type-safe configuration module for Nest framework.
- Nest Consul Service - A Node.js micro-service solution based on Consul, writing by Typescript language and NestJS framework.
- Nest Easy Config - 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.
- Nest Toolbox - The repository contains a suite of components and modules for NestJS.
- Nest Multer Extended - Extended MulterModule for NestJS framework with flexible Amazon S3 upload and helpful features.
- Nest CLS - A continuation-local storage module for Nest (using
async_hooks
)
- State Management
- Ngrx Nest - Ngrx/store and ngrx/effects on the server using the nest framework.
- Code Style
- StyleGuide and Coding Conventions - An unofficial TypeScript StyleGuide.
- Web Sockets
- Redis
- Nest Ioredis - A ioredis module for Nest framework.
- Nest Redis Cluster - Redis(ioredis) module for NestJS framework.
- Mail
- Mailman - The only
๐ฎ mailer package you need for your NestJS Applications. - Nest Mailer - A mailer module for Nest framework.
- Mailman - The only
- API
- Swagger - This's an OpenAPI (Swagger) module for Nest. [Tutorial].
- AsyncAPI - AsyncAPI module for NestJS.
- Nest-Query - Nest CRUD for GraphQL APIs.
- Nestia - Automatic SDK generator for the clients.
- Middleware
- Nest Middlewares - Common, injectable middlewares for NestJS.
- Errors
- Eyewitness - Receive error reports directly to your inbox whenever any exception is witnessed
๐ in your NestJS application. - Nest Flub - Pretty Error ๐ซ Stack Viewer for NestJS Framework ๐ ๏ธ.
- Nest Enlighten - A laravel-ignition like error page for NestJS Framework.
- Nest Rate Limiter - A highly configurable rate limiter library.
- Nest Raven - Sentry Raven Module for NestJS Framework.
- Eyewitness - Receive error reports directly to your inbox whenever any exception is witnessed
- Lint
- Eslint Plugin NestJS - ESLint rules for NestJS framework.
- Typescript-Eslint Plugin NestJS - ESLint rules for NestJS framework.
- 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.
- Nest Pino - Pino module for NestJS Log with request context in any place.
- Monitoring
- Nest 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.
- Nest Terminus - Integrated healthchecks, based on Terminus package.
- Nest X-Ray - Record incoming and outgoing request for AWS X-Ray, also supports custom instrumentation.
- Nest OpenTelemetry (OTEL) - OpenTelemetry module for NestJS.
- i18n
- Nest i18n - Adds i18n support easily to your server, with a rich formatting api build in.
- Currency
- Nestjs Cashify - Currency conversion module for NestJS.
- Event
- Nest Event - Event handling with decorators for NestJS Framework.
- Auth
- NestJS Session - Idiomatic Session Module for NestJS. Built on top of express-session.
- RBAC (Role-based access control)
- Nest RBAC - RBAC module for NestJS, with a dynamic storage and cache.
- Nest Keycloak Admin - Keycloak Admin Client with support for User Managed Access protocol.
- Multi Tenancy
- Nestjs MTenant - A module for NestJS to enable multitenancy support with deep integration into the system as whole (based on
async_hooks
).
- Nestjs MTenant - A module for NestJS to enable multitenancy support with deep integration into the system as whole (based on
- Microservice
- 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
- 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 utilities for 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
Integrations
- Auth
- Nest + Auth0 - NestJS Framework web application with Auth0.
- Nest Firebase Auth - NestJS Passport Strategy for Firebase Auth using Firebase Admin SDK
- Databases
- Typeorm - A TypeORM module for Nest framework [Tutorial].
- Nest Typeorm Factories - A TypeORM Entities factories. Useful for NestJS unit testing.
- Nest Mongoose - A Mongoose module for Nest framework.
- Nest Typegoose - A Typegoose module for Nest framework.
- Nest MikroORM - A MikroORM module for Nest Framework.
- Nest Sequelize JWT - Starter kit Nest + Sequelize + jwt.
- Nest sequelize-typescript - Nest + sequelize-typescript + JWT + Jest + Swagger.
- Nest Prisma - A Fully Type-Safe ORM for NestJS.
- Nest Transact - The simplest transactions using with Nest and TypeORM
- 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
- Nest typeorm paginate - A simple function and interfaces for pagination.
- Nest JSON RPC Transport - JSON RPC transport layer for the NestJS framework.
- Editors
- VSCode
- NestJS Files - Quickly create NestJS Files.
- NestJS Snippets - Vscode NestJS code Snippets.
- VSCode
- AMQP
- Nest AMQP - An amqp connection manager.
- Nest RabbitMQ - 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
- Nest EventStore - An evenstore.org module for NestJS CQRS with adapter support to persist lastcheckpoint for Catchup subscription.
- Payment Gateways
- Nest Braintree - A module for webhooks and transactions.
- Nest Stripe - A module for injecting a configured Stripe client into your services.
- GoLevelUp Nest Stripe - Injectable client plus autowired Stripe webhook handling for deeper integrations.
- Frontend
- Nest CRUD React Admin - A React Admin data provider for NextJS CRUD.
- Nest AdminBro - NestJS plugin for AdminBro, an automatic admin interface which can be plugged into your application.
- Scheduling
- Nest Bull - A Bull module for Nest framework.
- Workflow Automation
- Chatbots
- Nest Telegraf - A module for creating Telegram bots using NestJS, based on Telegraf.
- Necord - A module for creating Discord bots using NestJS, based on Discord.js.
- File Storage
- Nest Storage - A manage file storage module(flydrive) for NestJS Framework.
- Cloud Managed Configuration
- Nonfig 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
- Nest Firebase Admin - NestJS Module for Firebase Admin SDK.
Runtime
-
Command Line / Terminal
- Nest Commander - A module for using NestJS to build up CLI applications
- CLI - CLI tool for NestJS applications.
- Yeoman Generator - A yeoman generator for NestJS apps.
- NestJS Console - A NestJS module that provide a cli to application.
Meetups
Contribute
Contributions welcome! Read the contribution guidelines first.
License
To the extent possible under law, juliandavidmr
has waived all copyright and
related or neighboring rights to this work.