{"repo":"deadislove/nestJS-modular-monolith-cqrs-event-sourcing-architecture-template","free":true,"listed":false,"github":"https://github.com/deadislove/nestJS-modular-monolith-cqrs-event-sourcing-architecture-template","clone":"git clone https://github.com/deadislove/nestJS-modular-monolith-cqrs-event-sourcing-architecture-template.git","description":"A scalable NestJS project template with modular monolith architecture, CQRS, and Event Sourcing support (MongoDB/Kafka/EventStoreDB). Built with DDD and Onion Architecture principles, ideal for PoC to production-ready backend systems.","language":"TypeScript","stars":12,"topics":["cqrs","ddd","docker","docker-compose","event-sourcing","event-store","kafka","modular-monolith-architecture","mongodb","nestjs"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456 [circleci-url]: https://circleci.com/gh/nestjs/nest A modular and scalable Node.js framework for building efficient, enterprise-ready backend architectures with NestJS. 🧭 Project Overview This project demonstrates a modular monolith architecture using Nest, incorporating CQRS and Event Sourcing patterns. It supports dynamic event store providers and adheres to Domain-Driven Design principles, providing a scalable and maintainable foundation for application development. 🏗️ Project Structure & Architecture The application follows a modular monolith approach with clear bounded contexts. Each module encapsulates its domain logic, application services, and infrastructure concerns. The architecture is layered as follows: - Domain Layer: Entities, value objects, and domain services. - Application Layer: Commands, queries, handlers, and facades. - Infrastructure Layer: Repositories, event stores, and external integrations. - Interface Layer: Controllers and API endpoints. The event store integration is achieved through a factory pattern with dynamic modules, allowing seamless switching between MongoDB, Kafka, and EventStoreDB. 🧩 Modular Breakdown Each module resides under the src/modules directory and includes: - Application: Commands, queries, handlers, services, and DTOs. - Domain: Entities and interfaces. - Infrastructure: Repositories and ORM entities. - Interfaces: Controllers","default_branch":null,"files":null,"tree":[],"storefront":"/r/deadislove","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/deadislove/nestJS-modular-monolith-cqrs-event-sourcing-architecture-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}