Requirements and Test plan updated

This commit is contained in:
AG
2025-12-15 21:00:00 +02:00
parent 170e32d36c
commit 854eda98d2
2 changed files with 26 additions and 0 deletions

View File

@@ -42,6 +42,16 @@ The system relies on JWT-based authentication.
* Dates are handled as ISO strings or timestamps.
### 3.2. Workout Management (Plans)
* **3.1.5 Default Exercises (Seeding)**
* **Concept**: New users are initialized with a set of default exercises.
* **Configuration**:
* The file path is defined by `DEFAULT_EXERCISES_CSV_PATH` in `.env`.
* Format: CSV (`name`, `type`, `bodyWeightPercentage`, `isUnilateral`).
* **Logic**:
* Upon successful registration (3.1.2), the system reads the CSV.
* It creates `Exercise` records in the DB linked to the new user.
* Failure to read/parse the CSV is non-blocking (logs an error but allows user creation).
Users can structure their training via Plans.
* **3.2.1 Plan Creation/Editing**