Skip to content

gustavohenriquess/DDD

Repository files navigation

DDD

Useful links

Videos

Articles

Books

Repositories

Creation Order

  • Errors
  • Object Value
    • Uses Errors
  • Domain
    • Uses Object Value
    • Uses Errors
  • Repository Interface-
    • Uses Domain
  • Mappers
    • Domain
  • Repository (ORM)
    • Uses Repository Interface
    • Uses Mapper
  • Use Case
    • Uses Domain
    • Uses Repository Interface
    • Uses Errors
  • Use Case Controller
    • Uses Use Case
  • Controller Factory
    • Uses Repository (ORM)
    • Uses Use Case
    • Uses Use Case Controller
  • Router
    • Use Controller Factory

Architecture Design

DDD Architecture

Object Values

  • measure
  • quantifies
  • describe

TO-DO List Features

- List:
  - Create
  - Update
  - Delete

- item:
  - Create
  - Update
  - Delete

- Domains:
  - List:
    - title                     (255) Text              - Mandatory   - ObjectValue
    - short Description         (255) Text              -             - ObjectValue
    - isActive                  (True/false) Boolean    - Mandatory
    - createdAt                 (date) date-time        - Mandatory
    - updatedAt                 (date) date-time        - Mandatory

  - Item:
    - title                     (255) Text              - Mandatory   - ObjectValue
    - Description               (4000) Text             -             - ObjectValue
    - forecastDate              (date) date-time        -             - EntityRule
    - order                     Int                     -
    - done                      (True/false) Boolean    - Mandatory
    - createdAt                 (date) date-time        - Mandatory
    - updatedAt                 (date) date-time        - Mandatory


- UseCases:
  - List
    - Create List
    - Update List
    - Update Title
    - Update Description
    - Update Active
    - Delete List
    - Get    List
    - Get    Lists

  - Item
    - Create Item
    - Update Item
    - Update Title
    - Update Description
    - Update ForecastDate
    - Update Order
    - Delete Item 
    - Get    Item
    - Get    Items
    - Change Done Item