# saniya2908-dot/talviora-tech-complete architecture

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

- Interactive diagram: https://gitdiagram.com/saniya2908-dot/talviora-tech-complete
- Repository: https://github.com/saniya2908-dot/talviora-tech-complete

## Overview

TALVIORA TECH is an AI-assisted career-learning platform. Learners discover their skills, explore career and market fit, practise and build projects, prove readiness, then apply to opportunities. The graph preserves those documented stages and major feature branches, plus the API, AI, authentication, and persistence layers. README-described capabilities are included even where their implementation was not sampled; unsampled code relationships are omitted unless documented.

Main entry points: [`app/api/personalise/route.ts`](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/personalise/route.ts) (Personalised journey API), [`app/learning/page.tsx`](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/learning/page.tsx) (Learning studio), [`app/api/assessment/route.ts`](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/assessment/route.ts) (Assessment evaluation), [`app/page.tsx`](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/page.tsx) (Home and onboarding)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Platform experience"]
  node_home["Home and onboarding<br/>[page.tsx]"]
end

subgraph group_discover["Career discovery"]
  node_assessment["Skill assessment<br/>[page.tsx]"]
  node_assessment_api["Assessment evaluation<br/>[route.ts]"]
  node_results["Assessment results<br/>[page.tsx]"]
  node_career_match["Role and skill matching<br/>[page.tsx]"]
  node_market["Market intelligence<br/>[page.tsx]"]
end

subgraph group_learn["Learning and building"]
  node_roadmap["Career roadmaps<br/>[page.tsx]"]
  node_roadmap_api["Roadmap API<br/>[route.ts]"]
  node_roadmap_service["Roadmap planning service<br/>[roadmap-service.ts]"]
  node_roadmap_engine["Dependency and mastery engine<br/>[roadmap-engine.ts]"]
  node_catalogue["Learning catalogue<br/>[page.tsx]"]
  node_learning["Learning studio<br/>[page.tsx]"]
  node_code_sandbox["Interactive code sandbox"]
  node_projects["Projects and sprint planning<br/>[page.tsx]"]
end

subgraph group_prove["Proof and applications"]
  node_mentor["AI career mentor<br/>[page.tsx]"]
  node_interview["Interview simulator<br/>[page.tsx]"]
  node_portfolio["Portfolio builder<br/>[page.tsx]"]
  node_resume["Resume intelligence<br/>[page.tsx]"]
  node_opportunities["Job opportunities<br/>[page.tsx]"]
  node_analytics["Learning analytics<br/>[page.tsx]"]
end

subgraph group_services["Platform services"]
  node_personalise_api["Personalised journey API<br/>[route.ts]"]
  node_journey["Journey planning"]
  node_gemini["Gemini AI integration<br/>[gemini.ts]"]
  node_auth["Authentication<br/>[auth-server.ts]"]
  node_supabase[("Supabase client and persistence<br/>[supabase.ts]")]
end

node_learner(("Learner"))

node_learner -->|"starts at"| node_home
node_home -->|"begins discovery"| node_assessment
node_assessment -->|"shows results"| node_results
node_assessment_api -->|"requests analysis"| node_gemini
node_assessment_api -->|"authenticates user"| node_auth
node_assessment_api -->|"persists assessment"| node_supabase
node_results -->|"informs role fit"| node_career_match
node_career_match -->|"explores demand"| node_market
node_market -->|"guides learning"| node_roadmap
node_roadmap -->|"manages roadmap"| node_roadmap_api
node_roadmap_api -->|"prepares plan"| node_roadmap_service
node_roadmap_service -->|"builds plan"| node_roadmap_engine
node_roadmap -->|"selects topics"| node_catalogue
node_catalogue -->|"supports practice"| node_learning
node_learning -->|"renders sandbox"| node_code_sandbox
node_learning -->|"leads to building"| node_projects
node_projects -->|"produces proof"| node_portfolio
node_portfolio -->|"supports readiness"| node_interview
node_interview -->|"prepares applications"| node_resume
node_resume -->|"targets roles"| node_opportunities
node_learner -->|"seeks guidance"| node_mentor
node_home -->|"requests journey"| node_personalise_api
node_personalise_api -->|"builds fallback"| node_journey
node_personalise_api -->|"generates AI plan"| node_gemini
node_personalise_api -->|"authenticates user"| node_auth
node_personalise_api -->|"updates profile"| node_supabase
node_journey -->|"uses curriculum"| node_catalogue
node_learning -->|"tracks progress"| node_analytics

click node_home "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/page.tsx"
click node_assessment "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/assessment/page.tsx"
click node_assessment_api "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/assessment/route.ts"
click node_results "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/results/page.tsx"
click node_career_match "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/career-match/page.tsx"
click node_market "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/market/page.tsx"
click node_roadmap "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/roadmap/page.tsx"
click node_roadmap_api "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/roadmaps/route.ts"
click node_roadmap_service "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/roadmap-service.ts"
click node_roadmap_engine "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/roadmap-engine.ts"
click node_catalogue "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/catalogue/page.tsx"
click node_learning "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/learning/page.tsx"
click node_code_sandbox "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/components/InteractiveCodeSandbox.tsx"
click node_projects "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/projects/page.tsx"
click node_mentor "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/mentor/page.tsx"
click node_interview "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/simulator/page.tsx"
click node_portfolio "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/portfolio/page.tsx"
click node_resume "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/resume/page.tsx"
click node_opportunities "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/opportunities/page.tsx"
click node_personalise_api "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/personalise/route.ts"
click node_journey "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/personalised-journey.ts"
click node_gemini "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/gemini.ts"
click node_auth "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/auth-server.ts"
click node_supabase "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/supabase.ts"
click node_analytics "https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/analytics/page.tsx"

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_home toneBlue
class node_assessment,node_assessment_api,node_results,node_career_match,node_market toneAmber
class node_roadmap,node_roadmap_api,node_roadmap_service,node_roadmap_engine,node_catalogue,node_learning,node_code_sandbox,node_projects toneMint
class node_mentor,node_interview,node_portfolio,node_resume,node_opportunities,node_analytics toneRose
class node_personalise_api,node_journey,node_gemini,node_auth,node_supabase,node_learner toneIndigo
```

## Components

### Platform experience

- [Home and onboarding](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/page.tsx): `app/page.tsx`

### Career discovery

- [Skill assessment](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/assessment/page.tsx): `app/assessment/page.tsx`
- [Assessment evaluation](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/assessment/route.ts): `app/api/assessment/route.ts`
- [Assessment results](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/results/page.tsx): `app/results/page.tsx`
- [Role and skill matching](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/career-match/page.tsx): `app/career-match/page.tsx`
- [Market intelligence](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/market/page.tsx): `app/market/page.tsx`

### Learning and building

- [Career roadmaps](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/roadmap/page.tsx): `app/roadmap/page.tsx`
- [Roadmap API](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/roadmaps/route.ts): `app/api/roadmaps/route.ts`
- [Roadmap planning service](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/roadmap-service.ts): `lib/roadmap-service.ts`
- [Dependency and mastery engine](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/roadmap-engine.ts): `lib/roadmap-engine.ts`
- [Learning catalogue](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/catalogue/page.tsx): `app/catalogue/page.tsx`
- [Learning studio](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/learning/page.tsx): `app/learning/page.tsx`
- [Interactive code sandbox](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/components/InteractiveCodeSandbox.tsx): `components/InteractiveCodeSandbox.tsx`
- [Projects and sprint planning](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/projects/page.tsx): `app/projects/page.tsx`

### Proof and applications

- [AI career mentor](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/mentor/page.tsx): `app/mentor/page.tsx`
- [Interview simulator](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/simulator/page.tsx): `app/simulator/page.tsx`
- [Portfolio builder](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/portfolio/page.tsx): `app/portfolio/page.tsx`
- [Resume intelligence](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/resume/page.tsx): `app/resume/page.tsx`
- [Job opportunities](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/opportunities/page.tsx): `app/opportunities/page.tsx`
- [Learning analytics](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/analytics/page.tsx): `app/analytics/page.tsx`

### Platform services

- [Personalised journey API](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/app/api/personalise/route.ts): `app/api/personalise/route.ts`
- [Journey planning](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/personalised-journey.ts): `lib/personalised-journey.ts`
- [Gemini AI integration](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/gemini.ts): `lib/gemini.ts`
- [Authentication](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/auth-server.ts): `lib/auth-server.ts`
- [Supabase client and persistence](https://github.com/saniya2908-dot/talviora-tech-complete/blob/main/lib/supabase.ts): `lib/supabase.ts`

### Other components

- **Learner**

## Connections

- Learner → Home and onboarding: starts at
- Home and onboarding → Skill assessment: begins discovery
- Skill assessment → Assessment results: shows results
- Assessment evaluation → Gemini AI integration: requests analysis (evidence: `app/api/assessment/route.ts`)
- Assessment evaluation → Authentication: authenticates user (evidence: `app/api/assessment/route.ts`)
- Assessment evaluation → Supabase client and persistence: persists assessment (evidence: `app/api/assessment/route.ts`)
- Assessment results → Role and skill matching: informs role fit
- Role and skill matching → Market intelligence: explores demand
- Market intelligence → Career roadmaps: guides learning
- Career roadmaps → Roadmap API: manages roadmap
- Roadmap API → Roadmap planning service: prepares plan (evidence: `app/api/roadmaps/route.ts`)
- Roadmap planning service → Dependency and mastery engine: builds plan (evidence: `lib/roadmap-service.ts`)
- Career roadmaps → Learning catalogue: selects topics
- Learning catalogue → Learning studio: supports practice
- Learning studio → Interactive code sandbox: renders sandbox (evidence: `app/learning/page.tsx`)
- Learning studio → Projects and sprint planning: leads to building
- Projects and sprint planning → Portfolio builder: produces proof
- Portfolio builder → Interview simulator: supports readiness
- Interview simulator → Resume intelligence: prepares applications
- Resume intelligence → Job opportunities: targets roles
- Learner → AI career mentor: seeks guidance
- Home and onboarding → Personalised journey API: requests journey
- Personalised journey API → Journey planning: builds fallback (evidence: `app/api/personalise/route.ts`)
- Personalised journey API → Gemini AI integration: generates AI plan (evidence: `app/api/personalise/route.ts`)
- Personalised journey API → Authentication: authenticates user (evidence: `app/api/personalise/route.ts`)
- Personalised journey API → Supabase client and persistence: updates profile (evidence: `app/api/personalise/route.ts`)
- Journey planning → Learning catalogue: uses curriculum (evidence: `lib/personalised-journey.ts`)
- Learning studio → Learning analytics: tracks progress
