# maruthimaheshuppalamarthi/confered_talent_assess architecture

> Architecture diagram of the GitHub repository maruthimaheshuppalamarthi/confered_talent_assess, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/maruthimaheshuppalamarthi/confered_talent_assess
- Repository: https://github.com/maruthimaheshuppalamarthi/confered_talent_assess

## Overview

NexusAssess is an online assessment and hiring platform with separate candidate, recruiter, proctor, and system-administrator portals. Candidates enter through an invitation, complete verification and system checks, take assessments, and produce results for recruiter review; staff manage assessments, invitations, monitoring, and platform policy. The sampled entry point mounts the API routers and dispatches code execution to a sandbox. The graph combines these documented capabilities with sampled frontend and backend relationships; some feature-level links remain dashed because their implementation was not excerpted.

Main entry points: [`backend/app/main.py`](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/main.py) (API application), [`frontend/src/main.ts`](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/main.ts) (Web app entry), [`frontend/src/modules/CandidatePortal.ts`](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/CandidatePortal.ts) (Candidate portal), [`frontend/src/modules/RecruiterPortal.ts`](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/RecruiterPortal.ts) (Recruiter workspace)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web application"]
  node_web_router["Portal router<br/>[router.ts]"]
  node_web_entry["Web app entry<br/>[main.ts]"]
  node_auth_ui["Auth client<br/>[authApi.ts]"]
end

subgraph group_candidate["Candidate assessment"]
  node_candidate_portal["Candidate portal<br/>[CandidatePortal.ts]"]
  node_system_check["System checks<br/>[SystemCheck.ts]"]
  node_proctor_overlay["Proctor overlay"]
  node_exam_state["Exam state<br/>[store.ts]"]
  node_code_editor["Code editor"]
  node_candidate_api["Candidate API<br/>[candidate.py]"]
  node_code_execution["Code execution<br/>[docker_sandbox.py]"]
end

subgraph group_recruiting["Recruiting workflow"]
  node_recruiter_portal["Recruiter workspace<br/>[RecruiterPortal.ts]"]
  node_assessment_builder["Assessment builder"]
  node_question_bank["Question bank<br/>[question_bank.py]"]
  node_recruiter_pipeline["Recruiter pipeline"]
  node_recruiter_api["Recruiter API<br/>[recruiter.py]"]
  node_invite_worker["Invite dispatch<br/>[invite_dispatch.py]"]
end

subgraph group_operations["Platform operations"]
  node_live_monitor["Live monitor"]
  node_admin_portal["Admin portal<br/>[AdminPortal.ts]"]
  node_staff_admin["Staff administration<br/>[staff_admin.py]"]
  node_audit["Audit trail<br/>[audit.py]"]
  node_settings["Runtime settings"]
  node_proctor_api["Proctor API<br/>[proctor.py]"]
  node_admin_api["Admin API<br/>[admin.py]"]
end

subgraph group_backend["Backend foundation"]
  node_api_entry["API application<br/>[main.py]"]
  node_staff_auth["Staff authentication<br/>[staff_auth.py]"]
  node_auth_core["Auth services<br/>[auth_core.py]"]
  node_auth_models[("Identity records<br/>[auth.py]")]
  node_db_session["Database sessions<br/>[session.py]"]
  node_email_service["Email delivery<br/>[email.py]"]
end

node_candidate_actor(("Candidate"))
node_staff_actor(("Staff user"))

node_candidate_actor -->|"opens portal"| node_web_router
node_staff_actor -->|"opens portal"| node_web_router
node_web_entry -->|"routes through"| node_web_router
node_web_entry -->|"renders"| node_candidate_portal
node_web_entry -->|"renders"| node_recruiter_portal
node_web_entry -->|"renders"| node_live_monitor
node_web_entry -->|"renders"| node_admin_portal
node_candidate_portal -->|"uses"| node_system_check
node_candidate_portal -->|"renders"| node_proctor_overlay
node_candidate_portal -->|"reads and updates"| node_exam_state
node_code_editor -->|"reads state"| node_exam_state
node_candidate_portal -->|"requests services"| node_auth_ui
node_recruiter_portal -.->|"offers"| node_assessment_builder
node_recruiter_portal -.->|"manages"| node_question_bank
node_recruiter_portal -.->|"supports hiring"| node_recruiter_pipeline
node_live_monitor -.->|"uses API"| node_proctor_api
node_admin_portal -.->|"uses API"| node_admin_api
node_admin_api -.->|"manages staff"| node_staff_admin
node_admin_api -.->|"manages policy"| node_settings
node_api_entry -->|"mounts router"| node_candidate_api
node_api_entry -->|"mounts router"| node_proctor_api
node_api_entry -->|"mounts router"| node_recruiter_api
node_api_entry -->|"mounts router"| node_admin_api
node_api_entry -.->|"mounts router"| node_staff_auth
node_staff_auth -->|"delegates authentication"| node_auth_core
node_auth_core -->|"uses identity records"| node_auth_models
node_staff_auth -->|"loads challenges"| node_auth_models
node_auth_core -->|"records events"| node_audit
node_auth_core -->|"sends credentials"| node_email_service
node_staff_auth -->|"reads policy"| node_settings
node_settings -->|"opens sessions"| node_db_session
node_settings -->|"reads stored settings"| node_auth_models
node_invite_worker -->|"sends invitations"| node_email_service
node_api_entry -->|"executes submitted code"| node_code_execution
node_api_entry -.->|"authenticates principal"| node_auth_models

click node_web_router "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/router.ts"
click node_web_entry "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/main.ts"
click node_candidate_portal "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/CandidatePortal.ts"
click node_system_check "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/SystemCheck.ts"
click node_proctor_overlay "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/ProctoringOverlay.ts"
click node_exam_state "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/services/store.ts"
click node_code_editor "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/MonacoEditorComponent.ts"
click node_recruiter_portal "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/RecruiterPortal.ts"
click node_assessment_builder "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/AssessmentBuilderPanel.ts"
click node_question_bank "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/question_bank.py"
click node_recruiter_pipeline "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/recruiter_pipeline.py"
click node_live_monitor "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/LiveMonitorPortal.ts"
click node_admin_portal "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/AdminPortal.ts"
click node_staff_admin "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/staff_admin.py"
click node_audit "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/audit.py"
click node_settings "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/runtime_settings.py"
click node_auth_ui "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/services/authApi.ts"
click node_api_entry "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/main.py"
click node_candidate_api "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/candidate.py"
click node_proctor_api "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/proctor.py"
click node_recruiter_api "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/recruiter.py"
click node_admin_api "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/admin.py"
click node_staff_auth "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/staff_auth.py"
click node_auth_core "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/auth_core.py"
click node_auth_models "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/models/auth.py"
click node_db_session "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/db/session.py"
click node_code_execution "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/docker_sandbox.py"
click node_email_service "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/email.py"
click node_invite_worker "https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/workers/invite_dispatch.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web_router,node_web_entry,node_auth_ui,node_staff_actor toneBlue
class node_candidate_portal,node_system_check,node_proctor_overlay,node_exam_state,node_code_editor,node_candidate_api,node_code_execution toneAmber
class node_recruiter_portal,node_assessment_builder,node_question_bank,node_recruiter_pipeline,node_recruiter_api,node_invite_worker toneMint
class node_live_monitor,node_admin_portal,node_staff_admin,node_audit,node_settings,node_proctor_api,node_admin_api toneRose
class node_api_entry,node_staff_auth,node_auth_core,node_auth_models,node_db_session,node_email_service,node_candidate_actor toneIndigo
```

## Components

### Web application

- [Portal router](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/router.ts): `frontend/src/router.ts`
- [Web app entry](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/main.ts): `frontend/src/main.ts`
- [Auth client](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/services/authApi.ts): `frontend/src/services/authApi.ts`

### Candidate assessment

- [Candidate portal](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/CandidatePortal.ts): `frontend/src/modules/CandidatePortal.ts`
- [System checks](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/SystemCheck.ts): `frontend/src/components/SystemCheck.ts`
- [Proctor overlay](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/ProctoringOverlay.ts): `frontend/src/components/ProctoringOverlay.ts`
- [Exam state](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/services/store.ts): `frontend/src/services/store.ts`
- [Code editor](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/components/MonacoEditorComponent.ts): `frontend/src/components/MonacoEditorComponent.ts`
- [Candidate API](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/candidate.py): `backend/app/api/candidate.py`
- [Code execution](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/docker_sandbox.py): `backend/app/services/docker_sandbox.py`

### Recruiting workflow

- [Recruiter workspace](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/RecruiterPortal.ts): `frontend/src/modules/RecruiterPortal.ts`
- [Assessment builder](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/AssessmentBuilderPanel.ts): `frontend/src/modules/AssessmentBuilderPanel.ts`
- [Question bank](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/question_bank.py): `backend/app/services/question_bank.py`
- [Recruiter pipeline](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/recruiter_pipeline.py): `backend/app/services/recruiter_pipeline.py`
- [Recruiter API](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/recruiter.py): `backend/app/api/recruiter.py`
- [Invite dispatch](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/workers/invite_dispatch.py): `backend/app/workers/invite_dispatch.py`

### Platform operations

- [Live monitor](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/LiveMonitorPortal.ts): `frontend/src/modules/LiveMonitorPortal.ts`
- [Admin portal](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/frontend/src/modules/AdminPortal.ts): `frontend/src/modules/AdminPortal.ts`
- [Staff administration](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/staff_admin.py): `backend/app/services/staff_admin.py`
- [Audit trail](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/audit.py): `backend/app/services/audit.py`
- [Runtime settings](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/runtime_settings.py): `backend/app/services/runtime_settings.py`
- [Proctor API](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/proctor.py): `backend/app/api/proctor.py`
- [Admin API](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/admin.py): `backend/app/api/admin.py`

### Backend foundation

- [API application](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/main.py): `backend/app/main.py`
- [Staff authentication](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/api/staff_auth.py): `backend/app/api/staff_auth.py`
- [Auth services](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/auth_core.py): `backend/app/services/auth_core.py`
- [Identity records](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/models/auth.py): `backend/app/models/auth.py`
- [Database sessions](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/db/session.py): `backend/app/db/session.py`
- [Email delivery](https://github.com/maruthimaheshuppalamarthi/confered_talent_assess/blob/main/backend/app/services/email.py): `backend/app/services/email.py`

### Other components

- **Candidate**
- **Staff user**

## Connections

- Candidate → Portal router: opens portal (evidence: `frontend/src/router.ts`)
- Staff user → Portal router: opens portal (evidence: `frontend/src/router.ts`)
- Web app entry → Portal router: routes through (evidence: `frontend/src/main.ts`)
- Web app entry → Candidate portal: renders (evidence: `frontend/src/main.ts`)
- Web app entry → Recruiter workspace: renders (evidence: `frontend/src/main.ts`)
- Web app entry → Live monitor: renders (evidence: `frontend/src/main.ts`)
- Web app entry → Admin portal: renders (evidence: `frontend/src/main.ts`)
- Candidate portal → System checks: uses (evidence: `frontend/src/modules/CandidatePortal.ts`)
- Candidate portal → Proctor overlay: renders (evidence: `frontend/src/modules/CandidatePortal.ts`)
- Candidate portal → Exam state: reads and updates (evidence: `frontend/src/modules/CandidatePortal.ts`)
- Code editor → Exam state: reads state (evidence: `frontend/src/components/MonacoEditorComponent.ts`)
- Candidate portal → Auth client: requests services (evidence: `frontend/src/modules/CandidatePortal.ts`)
- Recruiter workspace → Assessment builder: offers
- Recruiter workspace → Question bank: manages
- Recruiter workspace → Recruiter pipeline: supports hiring
- Live monitor → Proctor API: uses API
- Admin portal → Admin API: uses API
- Admin API → Staff administration: manages staff
- Admin API → Runtime settings: manages policy
- API application → Candidate API: mounts router (evidence: `backend/app/main.py`)
- API application → Proctor API: mounts router (evidence: `backend/app/main.py`)
- API application → Recruiter API: mounts router (evidence: `backend/app/main.py`)
- API application → Admin API: mounts router (evidence: `backend/app/main.py`)
- API application → Staff authentication: mounts router (evidence: `backend/app/main.py`)
- Staff authentication → Auth services: delegates authentication (evidence: `backend/app/api/staff_auth.py`)
- Auth services → Identity records: uses identity records (evidence: `backend/app/services/auth_core.py`)
- Staff authentication → Identity records: loads challenges (evidence: `backend/app/api/staff_auth.py`)
- Auth services → Audit trail: records events (evidence: `backend/app/services/auth_core.py`)
- Auth services → Email delivery: sends credentials (evidence: `backend/app/services/auth_core.py`)
- Staff authentication → Runtime settings: reads policy (evidence: `backend/app/api/staff_auth.py`)
- Runtime settings → Database sessions: opens sessions (evidence: `backend/app/services/runtime_settings.py`)
- Runtime settings → Identity records: reads stored settings (evidence: `backend/app/services/runtime_settings.py`)
- Invite dispatch → Email delivery: sends invitations (evidence: `backend/app/workers/invite_dispatch.py`)
- API application → Code execution: executes submitted code (evidence: `backend/app/main.py`)
- API application → Identity records: authenticates principal
