Modulith is a simple modular monolith architecture for building scalable and maintainable applications with .NET Core. It is a set of guidelines and best practices that help you to structure your application in a way that makes it easier to manage and scale as it grows. It is based on the principles of Domain-Driven Design (DDD) and Clean Architecture.
The architecture of Modulith is based on the principles of Domain-Driven Design (DDD) and Clean Architecture. It is a modular monolith architecture that allows you to break down your application into smaller, more manageable modules. Each module is a self-contained unit of functionality that can be developed, tested, and deployed independently of the other modules.
Here is an overview of the architecture of Modulith:
- Product: Contains the domain logic for managing products.
- Order: Contains the domain logic for managing orders.
- User: Contains the domain logic for managing users.
- Basket: Contains the domain logic for managing baskets.
- Clone the repository and change the directory:
git clone https://github.com/foxminchan/Modulith
cd Modulith
- Start the infrastructure services using Docker Compose:
docker-compose -f ./docker-compose.yml ./docker-compose.o11y.yml up -d
- Run the application:
dotnet run --project src/Modulith.WebApi/Modulith.WebApi.csproj
This project is licensed under the MIT License - see the LICENSE file for details.