feat: establish project goals and architecture guidelines

This commit is contained in:
2026-07-15 19:00:18 +02:00
commit 69eeaf994e
2 changed files with 139 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Project Goals & Architecture Guidelines
## Goal
This project aims to implement a modern Symfony application following a clean layered architecture.
## Architecture
The codebase is divided into three primary layers to ensure separation of concerns:
- **UI Layer** (`src/UI`): Responsible for the presentation and handling user input (Controllers, Command-line interfaces, API endpoints).
- **Logic Layer** (`src/Logic`): Contains the core business logic, domain services, and use cases. It is independent of the UI and Data layers.
- **Data Layer** (`src/Data`): Handles data persistence and retrieval (Repositories, Entities, DTOs for external APIs).
### Directory Structure
The `src/` directory must strictly follow this layering:
- `src/UI/`
- `src/Logic/`
- `src/Data/`