BaseMax / BaseMax/EcommercePHPDDD

Provide the domain model diagram

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

As title, I tried to analyse this project and illustrate the domain model diagram.

But I'm no sure this is correct. Could you help me check that? Thanks.

![Image](https://github.com/user-attachments/assets/06abea3d-d202-425c-816b-d0033d44f059)

In this domain model diagram, I separate components from the context map to complete this domain model diagram.

There're as follows:

- The Repository is PaymentRepository, IPayMethodRespository, OrderRepository and ProductRepository.
- The Value Object is Order, Product and Payment.
- The Entity is CartController and ProductController.
- The Aggregate Root might be PaymentController and CheckoutController.

Once we confirm the domain model diagram, I think it's great to add the diagram in this README.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.