Giter Site home page Giter Site logo

modulith's Introduction

Modulith

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.

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:

Architecture

Modules

  • 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.

Getting Started

Prerequisites

Installation

  1. Clone the repository and change the directory:
git clone https://github.com/foxminchan/Modulith
cd Modulith
  1. Start the infrastructure services using Docker Compose:
docker-compose -f ./docker-compose.yml ./docker-compose.o11y.yml up -d
  1. Run the application:
dotnet run --project src/Modulith.WebApi/Modulith.WebApi.csproj

License

This project is licensed under the MIT License - see the LICENSE file for details.

References

modulith's People

Contributors

foxminchan avatar

Stargazers

 avatar Erdoğancan Yüksel avatar Robert Ștefan Stănescu avatar Marco Gea avatar Masoud RAHIMI avatar  avatar DemoDev avatar Lê Nguyễn Quang Duy avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.