Pocro Vento Documentation

Backend: Adding new assessment

GitHub Issue: #214

Last modified with commit 374306c on by Aljaž.

Backend task for creating an assessment (POST /assessments) – check the API spec and DB structure, set up roles, permissions, tables and lookups, implement, and verify against the spec.

Docs: Adding new assessment Spec: POST /assessments (createAssessment), AssessmentNewRequest, Assessment in api-docs/openapi.yaml DB: Assessments, AssessmentCandidates, AssessmentBoardMembers in api/database/create_schema.sql

This is the first assessment endpoint, so it also includes the shared setup: roles, permissions, tables and the Komisija / Partner lookups.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A trainer can create an assessment that then shows up on the list and on the detail page.