Pocro Vento Documentation

Backend: Rezultati feedback forme

GitHub Issue: #246

Last modified with commit 7a580a0 on by Aljaž.

Backend task for the Rezultati feedback forme values (POST /btc-trainings/{trainingId}/modules/{moduleNumber}/feedback) – check the Trener and Ocjena formats against the API spec and DB structure, implement, and verify against the spec.

Docs: Rezultati feedback forme Spec: POST /btc-trainings/{trainingId}/modules/{moduleNumber}/feedback (setBtcTrainingFeedback), GET /btc-trainings/{trainingId} (getBtcTrainingDetail), BtcTrainingFeedbackRequest, BtcFeedbackGrade, BtcTrainingModule in api-docs/openapi.yaml DB: BtcTrainingModules (Trainers, FeedbackGrade) in api/database/create_schema.sql

The page reads its data (školovanje name, 4 modules with trainers / feedbackGrade) from the detail endpoint. This task adds only the save endpoint.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A trainer can enter and change Trener and Ocjena for each module, and the page shows them.