jdomenechb/rust-ddd-example
소개
Rust로 작성한 도메인 주도 설계 예제 애플리케이션입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRust Domain Driven Design Example
The purpose of this project is to write a simple application in Rust (2021 edition) that follows basic Domain Driven Design principles, in order to test the capabilities of the language to write applications that follow DDD.
Running the project
Clone the repository, and run in the root of the project:
cargo run
A menu will appear that will guide you through the application.
Structure
The source code is explicitly split into four of the typical DDD layers:
- Domain - Where the business rules of the application reside.
- Application - The layer that orchestrates Domain and Infrastructure, and contains the use cases for your application.
- Infrastructure - Contains implementations of the abstractions defined in the Domain and Application layer, and other infrastructure details.
- Presentation - Defines how to present the data and defined the basic controller actions. Normally, this layer is often considered "Infrastructure", and some people prefer to separate it, whereas some people don't.
main.rs contains the initializations of the infrastructure implementations.
The code also contains unit testing.
Contribution
Please, feel free to contribute asking, discussing, commenting or improving the application via Pull Requests or Issues. All type of feedback will be welcomed!
Resources
관련 프로젝트 살펴보기
불러오는 중…