Nestjs Monorepo

screenshot of Nestjs Monorepo
nestjs

Monorepo boilerplate using Nestjs, authentication, docker, redis, secrets service, logs service, libs structure, anti corruption layer pattern, adapter pattern, dependency inversion pattern, mongodb, redis, swagger and tests.

Overview

The Nestjs Monorepo Boilerplate is a comprehensive boilerplate that provides a Monorepo structure for developing applications using the NestJS framework. It offers various features and tools such as Docker, Pino.js logging, Elastic Observability, Authentication, Error Handling, Swagger Documentation, Redis, MongoDB, and more. The boilerplate also includes testing capabilities with unit and end-to-end tests, achieving a high code coverage of 90%. It requires Node.js version 14 to 16 for installation and includes instructions on running the app locally in different environments.

Features

  • Monorepo structure with NestJS
  • Docker integration
  • Secrets Service
  • Logs Service with Pino.js
  • Elastic Observability with Jeager and Opentracing
  • Authentication handling
  • Error handling
  • Libs structure
  • Dependency Inversion Pattern
  • Anti Corruption Layer Pattern
  • Interface Adapter Pattern
  • Generic Repository Pattern
  • Swagger Documentation
  • Redis integration
  • MongoDB integration with Mongoose
  • Multiple databases support
  • Unit and end-to-end tests with 90% coverage

Summary

The Nestjs Monorepo Boilerplate provides a comprehensive structure and set of tools for developing applications using NestJS. It offers features such as Docker integration, logging with Pino.js, observability with Jeager and Opentracing, authentication and error handling, MongoDB and Redis integration, and more. With its Monorepo architecture, the boilerplate promotes code sharing and organization. It also includes testing capabilities with high code coverage. Overall, the Nestjs Monorepo Boilerplate is a valuable resource for developers looking to kickstart their NestJS projects and streamline their development process.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.