What problem does it solve?
Architects and developers often struggle with building scalable NestJS APIs that are easy to maintain, test, and evolve as business rules change. This Skill provides a proven structure using Hexagonal Architecture, DDD, and CQRS to separate concerns and align code organization with domain concepts.
Core Features & Use Cases
- Hexagonal Architecture: isolates the core domain from adapters and infrastructure, enabling independent testing and evolution of each boundary.
- CQRS and DDD: defines clear write and read models with commands, queries, domain events, and repository interfaces for robust business logic.
- Modular API skeleton: offers a scalable project structure spanning application, domain, and infrastructure layers for NestJS APIs, including modules, controllers, and persistence.
- Use Case: when building a complex enterprise API, structure features as cohesive modules with ports/adapters and testable boundaries to reduce coupling and accelerate delivery.
Quick Start
Install dependencies and start the development server:
- npm install
- npm run start:dev