Pocro Vento Documentation

Backend: Adding new BTC školovanje

Last modified with commit e90a924 on by Aljaž.

Backend task for creating a BTC školovanje (POST /btc-trainings) – check the API spec and DB structure, set up the btc-trainings permissions, tables and lookups, create the 4 fixed modules, implement, and verify against the spec.

Docs: Adding new BTC školovanje Spec: POST /btc-trainings (createBtcTraining), BtcTrainingNewRequest, BtcTraining, BtcStatus in api-docs/openapi.yaml DB: BtcTrainings, BtcTrainingModules, BtcTrainingCandidates in api/database/create_schema.sql

This is the first BTC školovanje endpoint, so it also includes the shared setup for the školovanje sub-area: permissions, tables, the status helper and the Partner lookup.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A trainer can create a BTC školovanje, which then shows on the list and opens on the detail page with 4 empty modules.