← Technical notes
Technical note3 diagrams

End-to-End 360° Performance Evaluation Module

Full-stack developer & feature owner — annual KPI-linked 360° reviews across peers, managers, and external partners. I owned both the assignment engine / public API and the Angular experience for complex, schema-driven forms on desktop and mobile.

TL;DR

Full-stack HR 360°: generation engine and tokenized partner API on the backend; Angular schema-driven forms, shared UI, and responsive Likert layouts on the frontend.

live trace · Sequence Diagramfrom the original diagram
Admin API Database Staff Partner 01activate evaluation cycle 02resolve org hierarchy and roles 03bulk insert pending evaluations 04authenticated session 05fetch assigned evaluations 06submit evaluation JSON 07update JSON payload and status 08mint signed public token URL 09GET form via token, no login 10validate token scope and expiry 11POST external rating JSON 12insert evaluation with partner id
  1. 01
    Admin → APIactivate evaluation cycle
  2. 02
    API → Databaseresolve org hierarchy and roles
  3. 03
    API → Databasebulk insert pending evaluations
  4. 04
    Staff → APIauthenticated session
  5. 05
    API → Databasefetch assigned evaluations
  6. 06
    Staff → APIsubmit evaluation JSON
  7. 07
    API → Databaseupdate JSON payload and status
  8. 08
    Admin → APImint signed public token URL
  9. 09
    Partner → APIGET form via token, no login
  10. 10
    API → Databasevalidate token scope and expiry
  11. 11
    Partner → APIPOST external rating JSON
  12. 12
    API → Databaseinsert evaluation with partner id
Challenge

Engine, security model, and evaluator UX

The enterprise needed a comprehensive 360° performance review tied to annual KPIs. The work split naturally in two directions: a backend that could resolve dynamic hierarchies , mint secure access for external partner feedback without logins , and persist audit-friendly payloads; and a frontend that could render schema-driven evaluation forms (many question types, dense matrices) with a smooth experience on both desktop and mobile.

Solution

Backend engine, Angular forms, responsive matrices

Owned the feature end-to-end—from persistence and APIs through the evaluator UI.

  • Backend architecture: Built a generation engine that auto-matches department members and assigns form types from rank and relationship; stored answers in JSONB ; exposed a stateless, token-based public API so partners submit securely without accounts.
  • Frontend (Angular): Modular app with shared UI components . A dynamic EvaluationFormComponent reads varying JSON schemas (flat vs. sectioned) and renders the right controls for each question type.
  • Responsive UX: Used programmatic viewport checks ( matchMedia ) so large Likert matrices reflow into a mobile-friendly layout without breaking reactive form groupings .
02

Impact

Delivered a fully automated, scalable HR evaluation path from cycle activation through completion. The schema-driven Angular surface decoupled the UI from hardcoded questionnaires, so the business could introduce new evaluation types through configuration instead of shipping new form screens for every change—while keeping submissions reliable across desktop and mobile.

03

Technical architecture

Data model, admin and staff flows (including schema-driven form steps), then a sequence view contrasting authenticated staff calls with token-based partner submissions.

All diagrams

Other views

Tap a table to see what it links to.

DEPARTMENTbigint id PKstring name
USERbigint id PKstring namestring emailstring rolebigint department_id FK
EVALUATIONbigint id PKbigint evaluatee_id FKbigint evaluator_id FKbigint partner_id FKstring form_typejsonb payloadint total_scorestring statustimestamp created_attimestamp completed_at
EXTERNAL_PARTNERbigint id PKstring company_namestring contact_person
  • DEPARTMENT has members USER 1 → many
  • USER receives rating EVALUATION 1 → many
  • USER submits rating EVALUATION 1 → many
  • EXTERNAL_PARTNER external submits EVALUATION 1 → many

← Technical notes on the home page