How panda-program-web/scrum works
Overall Layers
• UI Layer
• Application (Use-Case) Layer
• Domain (Core) Layer
• Infrastructure Layer
Main Components
a. UI Layer
b. Application Layer
• Use-Case Engine: orchestrates commands and queries.
c. Domain Layer
• Core Domain Model: entities (Employee, Product, Project, Team), business rules, domain events.
d. Infrastructure Layer
• Adapters and Repositories: persistence (JSON/LowDB), external services.
Relationships and Data Flows
• UI → Application: “invoke use case”
• Application → Domain: “execute business logic”
• Application → Infrastructure: “load/save data”
• Infrastructure → Domain: “hydrate/persist entities”
Architectural Patterns and Principles
• Layered Architecture: strict direction of dependencies (UI → App → Domain ← Infra)
• Separation of Concerns: UI only handles interaction, Use-Case encapsulates workflow, Domain encapsulates rules, Infra handles I/O.
• Dependency Inversion: Application and Domain define interfaces; Infrastructure implements them.
Technologies and Frameworks (to annotate
• TypeScript (all layers)
• CLI framework (Node)
• Next.js (Web UI)
• LowDB/JSON storage (Infra)