Skip to content

A Nest.js template implementing Domain-Driven Design (DDD) with Clean Architecture principles, optimized for scalability, maintainability, and modular development using TypeScript.

License

Notifications You must be signed in to change notification settings

rezawr/nestjs-clean-architecture-boilerplate

Repository files navigation

🌟 DDD with Clean Architecture for Nest.js

NestJS TypeScript MIT License Donate via Trakteer

📚 Project Overview

This project implements Domain-Driven Design (DDD) with Clean Architecture principles using Nest.js. It serves as a template for building scalable, maintainable, and testable web applications.

🚀 Features

  • Scalable Architecture: Built with clean architecture to support growing applications.
  • Domain-Driven Design: Focuses on the core domain and domain logic.
  • TypeScript Support: Provides type safety and better development experience.
  • Modular Structure: Well-organized code structure for easy maintainability.

🛠️ Installation

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the project directory:

    cd <project-directory>
  3. Install dependencies:

    npm install

💻 Usage

To start the development server:

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Your application will be running at http://localhost:{port}.

🧰 Technologies Used

  • Nest.js: A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
  • TypeScript: A superset of JavaScript that adds static types.
  • Domain-Driven Design (DDD): A methodology for modeling complex software.
  • Clean Architecture: An approach to organizing project structure.

☕ Support

If you find this project helpful and would like to support its development, consider buying me a coffee:

Donate via Trakteer

Your support is greatly appreciated!

🤝 Contributing

We welcome contributions to this project! Here’s how you can help:

  1. Fork the repository and create a new branch for your feature or bugfix.
  2. Make your changes and ensure all tests pass.
  3. Submit a pull request with a detailed explanation of your changes.

📝 License

This project is licensed under the MIT License. See the LICENSE file for more details.

📬 Contact

For any inquiries or issues, please reach out to:


This README was generated with ❤️ and attention to detail.

About

A Nest.js template implementing Domain-Driven Design (DDD) with Clean Architecture principles, optimized for scalability, maintainability, and modular development using TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published