Nestjs Clean Arch

screenshot of Nestjs Clean Arch
nestjs

Boilerplate to build Rest API servers having Clean Architecture with NestJS.

Overview:

This product is a boilerplate for building Rest API servers with a clean architecture using NestJS and an ORM. While the boilerplate is not yet completed, it has been used in a few real projects. The current status includes the fact that the domain, application, and infrastructure layers are still being developed and layered tests and error handling have not been implemented. Additionally, the documentation is not completed.

Features:

  • Modular and layered simple clean architecture: The boilerplate follows the principles of Clean Architecture, allowing for a modular and layered approach to building applications.
  • Data layer agnostic: The boilerplate is independent of the specific ORM, database, or query builder being used, providing flexibility in choosing the appropriate technology.
  • 3rd party services agnostic: The boilerplate does not depend on any specific third-party services, allowing for easy integration with different services as needed.
  • Platform agnostic (in theory): The design principles of Clean Architecture and the modular nature of NestJS make the boilerplate platform-agnostic, enabling deployment on different platforms.

Summary:

This boilerplate provides a foundation for building Rest API servers with a clean architecture using NestJS and an ORM. It is currently being used in real projects, although it is not yet fully completed. The principles of Clean Architecture and the modular architecture of NestJS make it an appealing choice for developers looking to build scalable and maintainable applications. Although there are some missing features and incomplete documentation, the boilerplate shows promise and has a roadmap for future improvements.

nestjs
Nest

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