# sundhip/resumio architecture

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

- Interactive diagram: https://gitdiagram.com/sundhip/resumio
- Repository: https://github.com/sundhip/resumio

## Overview

Resumio is a human-in-the-loop recruiting platform: candidates and recruiters use a React application to manage profiles, jobs, resumes, applications, and hiring decisions. Application submission can trigger resume processing and matching; the recruiter workflow supports review rather than automatic rejection. The product also includes resume diagnostics, fairness-oriented research evaluation, and analytics. The graph emphasizes relationships visible in the supplied excerpts, SOURCE INDEX, and README; unsampled route and integration wiring is intentionally not inferred.

Main entry points: [`server/routes/researchRoutes.ts`](https://github.com/sundhip/resumio/blob/main/server/routes/researchRoutes.ts) (Research API), [`server/services/resumeProcessingPipeline.ts`](https://github.com/sundhip/resumio/blob/main/server/services/resumeProcessingPipeline.ts) (Resume Processing), [`src/App.tsx`](https://github.com/sundhip/resumio/blob/main/src/App.tsx) (Role-Based App), [`server/routes/applications.ts`](https://github.com/sundhip/resumio/blob/main/server/routes/applications.ts) (Applications API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web Application"]
  node_webapp["Role-Based App<br/>[App.tsx]"]
  node_api["Web API Client<br/>[api.ts]"]
  node_candidatepages["Candidate Experience"]
  node_recruiterworkspace["Recruiter Workspace"]
  node_resumeview["Resume Diagnostics View"]
end

subgraph group_hiring["Recruiting Workflow"]
  node_applicationroutes["Applications API<br/>[applications.ts]"]
  node_resumeprocessing["Resume Processing"]
  node_documentextractor["Document Extraction"]
  node_resumeparser["Resume Parsing<br/>[resumeParser.ts]"]
  node_screening["Resume Screening<br/>[resumeScreening.ts]"]
end

subgraph group_intelligence["AI and Research"]
  node_matching["Job Matching<br/>[matchingService.ts]"]
  node_explanations["Match Explanations"]
  node_mlparser["ML Parser Pipeline<br/>[pipeline.py]"]
  node_mlmatching["ML Matching Service<br/>[service.py]"]
  node_researchroute["Research API<br/>[researchRoutes.ts]"]
  node_benchmarkdata["Benchmark Dataset"]
  node_preprocessing["Dataset Preprocessing"]
  node_splitting["Stratified Splitting"]
  node_augmentation["Research Augmentation"]
  node_classifier["Classifier Evaluation"]
end

subgraph group_platform["Platform Services"]
  node_database[("Database Access<br/>[db.ts]")]
  node_mongo[("Mongo Adapter<br/>[mongoAdapter.ts]")]
  node_auth["Authentication Middleware<br/>[auth.ts]"]
  node_server["API Server<br/>[index.ts]"]
end

node_candidate(("Candidate"))
node_recruiter(("Recruiter"))

node_candidate -->|"uses"| node_webapp
node_recruiter -->|"uses"| node_webapp
node_webapp -->|"routes to"| node_candidatepages
node_webapp -->|"routes to"| node_recruiterworkspace
node_candidatepages -.->|"requests data"| node_api
node_recruiterworkspace -.->|"requests data"| node_api
node_resumeview -->|"requests data"| node_api
node_webapp -->|"calls API"| node_server
node_server -->|"registers routes"| node_applicationroutes
node_applicationroutes -->|"processes resume"| node_resumeprocessing
node_applicationroutes -->|"computes match"| node_matching
node_resumeprocessing -->|"extracts text"| node_documentextractor
node_resumeprocessing -->|"parses text"| node_resumeparser
node_resumeprocessing -->|"screens resume"| node_screening
node_resumeprocessing -->|"reads and writes"| node_database
node_matching -.->|"explains scores"| node_explanations
node_resumeprocessing -.->|"may use ML parsing"| node_mlparser
node_matching -.->|"may delegate matching"| node_mlmatching
node_applicationroutes -->|"authenticates"| node_auth
node_researchroute -->|"loads dataset"| node_benchmarkdata
node_researchroute -->|"validates data"| node_preprocessing
node_researchroute -->|"creates splits"| node_splitting
node_researchroute -->|"generates samples"| node_augmentation
node_researchroute -->|"evaluates models"| node_classifier
node_researchroute -->|"persists research"| node_mongo
node_server -->|"initializes"| node_database
node_server -->|"uses middleware"| node_auth

click node_webapp "https://github.com/sundhip/resumio/blob/main/src/App.tsx"
click node_api "https://github.com/sundhip/resumio/blob/main/src/services/api.ts"
click node_candidatepages "https://github.com/sundhip/resumio/blob/main/src/pages/candidate/CandidateExperiencePage.tsx"
click node_recruiterworkspace "https://github.com/sundhip/resumio/blob/main/src/pages/recruiter/RecruiterWorkspacePage.tsx"
click node_resumeview "https://github.com/sundhip/resumio/blob/main/src/components/resume/ResumeSplitViewManager.tsx"
click node_applicationroutes "https://github.com/sundhip/resumio/blob/main/server/routes/applications.ts"
click node_resumeprocessing "https://github.com/sundhip/resumio/blob/main/server/services/resumeProcessingPipeline.ts"
click node_documentextractor "https://github.com/sundhip/resumio/blob/main/server/services/documentExtractor.ts"
click node_resumeparser "https://github.com/sundhip/resumio/blob/main/server/services/resumeParser.ts"
click node_screening "https://github.com/sundhip/resumio/blob/main/server/services/resumeScreening.ts"
click node_matching "https://github.com/sundhip/resumio/blob/main/server/services/matchingService.ts"
click node_explanations "https://github.com/sundhip/resumio/blob/main/server/services/matchExplanationService.ts"
click node_mlparser "https://github.com/sundhip/resumio/blob/main/services/ml/src/parser/pipeline.py"
click node_mlmatching "https://github.com/sundhip/resumio/blob/main/services/ml/src/matching/service.py"
click node_researchroute "https://github.com/sundhip/resumio/blob/main/server/routes/researchRoutes.ts"
click node_benchmarkdata "https://github.com/sundhip/resumio/blob/main/server/data/researchBenchmarkDataset.ts"
click node_preprocessing "https://github.com/sundhip/resumio/blob/main/server/services/researchPreprocessing.ts"
click node_splitting "https://github.com/sundhip/resumio/blob/main/server/services/researchSplitter.ts"
click node_augmentation "https://github.com/sundhip/resumio/blob/main/server/services/researchAugmentation.ts"
click node_classifier "https://github.com/sundhip/resumio/blob/main/server/services/researchClassifier.ts"
click node_database "https://github.com/sundhip/resumio/blob/main/server/database/db.ts"
click node_mongo "https://github.com/sundhip/resumio/blob/main/server/database/mongoAdapter.ts"
click node_auth "https://github.com/sundhip/resumio/blob/main/server/middleware/auth.ts"
click node_server "https://github.com/sundhip/resumio/blob/main/server/index.ts"

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_webapp,node_api,node_candidatepages,node_recruiterworkspace,node_resumeview toneBlue
class node_applicationroutes,node_resumeprocessing,node_documentextractor,node_resumeparser,node_screening toneAmber
class node_matching,node_explanations,node_mlparser,node_mlmatching,node_researchroute,node_benchmarkdata,node_preprocessing,node_splitting,node_augmentation,node_classifier toneMint
class node_database,node_mongo,node_auth,node_server toneRose
class node_candidate,node_recruiter toneIndigo
```

## Components

### Web Application

- [Role-Based App](https://github.com/sundhip/resumio/blob/main/src/App.tsx): `src/App.tsx`
- [Web API Client](https://github.com/sundhip/resumio/blob/main/src/services/api.ts): `src/services/api.ts`
- [Candidate Experience](https://github.com/sundhip/resumio/blob/main/src/pages/candidate/CandidateExperiencePage.tsx): `src/pages/candidate/CandidateExperiencePage.tsx`
- [Recruiter Workspace](https://github.com/sundhip/resumio/blob/main/src/pages/recruiter/RecruiterWorkspacePage.tsx): `src/pages/recruiter/RecruiterWorkspacePage.tsx`
- [Resume Diagnostics View](https://github.com/sundhip/resumio/blob/main/src/components/resume/ResumeSplitViewManager.tsx): `src/components/resume/ResumeSplitViewManager.tsx`

### Recruiting Workflow

- [Applications API](https://github.com/sundhip/resumio/blob/main/server/routes/applications.ts): `server/routes/applications.ts`
- [Resume Processing](https://github.com/sundhip/resumio/blob/main/server/services/resumeProcessingPipeline.ts): `server/services/resumeProcessingPipeline.ts`
- [Document Extraction](https://github.com/sundhip/resumio/blob/main/server/services/documentExtractor.ts): `server/services/documentExtractor.ts`
- [Resume Parsing](https://github.com/sundhip/resumio/blob/main/server/services/resumeParser.ts): `server/services/resumeParser.ts`
- [Resume Screening](https://github.com/sundhip/resumio/blob/main/server/services/resumeScreening.ts): `server/services/resumeScreening.ts`

### AI and Research

- [Job Matching](https://github.com/sundhip/resumio/blob/main/server/services/matchingService.ts): `server/services/matchingService.ts`
- [Match Explanations](https://github.com/sundhip/resumio/blob/main/server/services/matchExplanationService.ts): `server/services/matchExplanationService.ts`
- [ML Parser Pipeline](https://github.com/sundhip/resumio/blob/main/services/ml/src/parser/pipeline.py): `services/ml/src/parser/pipeline.py`
- [ML Matching Service](https://github.com/sundhip/resumio/blob/main/services/ml/src/matching/service.py): `services/ml/src/matching/service.py`
- [Research API](https://github.com/sundhip/resumio/blob/main/server/routes/researchRoutes.ts): `server/routes/researchRoutes.ts`
- [Benchmark Dataset](https://github.com/sundhip/resumio/blob/main/server/data/researchBenchmarkDataset.ts): `server/data/researchBenchmarkDataset.ts`
- [Dataset Preprocessing](https://github.com/sundhip/resumio/blob/main/server/services/researchPreprocessing.ts): `server/services/researchPreprocessing.ts`
- [Stratified Splitting](https://github.com/sundhip/resumio/blob/main/server/services/researchSplitter.ts): `server/services/researchSplitter.ts`
- [Research Augmentation](https://github.com/sundhip/resumio/blob/main/server/services/researchAugmentation.ts): `server/services/researchAugmentation.ts`
- [Classifier Evaluation](https://github.com/sundhip/resumio/blob/main/server/services/researchClassifier.ts): `server/services/researchClassifier.ts`

### Platform Services

- [Database Access](https://github.com/sundhip/resumio/blob/main/server/database/db.ts): `server/database/db.ts`
- [Mongo Adapter](https://github.com/sundhip/resumio/blob/main/server/database/mongoAdapter.ts): `server/database/mongoAdapter.ts`
- [Authentication Middleware](https://github.com/sundhip/resumio/blob/main/server/middleware/auth.ts): `server/middleware/auth.ts`
- [API Server](https://github.com/sundhip/resumio/blob/main/server/index.ts): `server/index.ts`

### Other components

- **Candidate**
- **Recruiter**

## Connections

- Candidate → Role-Based App: uses (evidence: `README.md`)
- Recruiter → Role-Based App: uses (evidence: `README.md`)
- Role-Based App → Candidate Experience: routes to (evidence: `src/App.tsx`)
- Role-Based App → Recruiter Workspace: routes to (evidence: `src/App.tsx`)
- Candidate Experience → Web API Client: requests data
- Recruiter Workspace → Web API Client: requests data
- Resume Diagnostics View → Web API Client: requests data (evidence: `src/components/resume/ResumeSplitViewManager.tsx`)
- Role-Based App → API Server: calls API (evidence: `README.md`)
- API Server → Applications API: registers routes (evidence: `server/index.ts`)
- Applications API → Resume Processing: processes resume (evidence: `server/routes/applications.ts`)
- Applications API → Job Matching: computes match (evidence: `server/routes/applications.ts`)
- Resume Processing → Document Extraction: extracts text (evidence: `server/services/resumeProcessingPipeline.ts`)
- Resume Processing → Resume Parsing: parses text (evidence: `server/services/resumeProcessingPipeline.ts`)
- Resume Processing → Resume Screening: screens resume (evidence: `server/services/resumeProcessingPipeline.ts`)
- Resume Processing → Database Access: reads and writes (evidence: `server/services/resumeProcessingPipeline.ts`)
- Job Matching → Match Explanations: explains scores
- Resume Processing → ML Parser Pipeline: may use ML parsing
- Job Matching → ML Matching Service: may delegate matching
- Applications API → Authentication Middleware: authenticates (evidence: `server/routes/applications.ts`)
- Research API → Benchmark Dataset: loads dataset (evidence: `server/routes/researchRoutes.ts`)
- Research API → Dataset Preprocessing: validates data (evidence: `server/routes/researchRoutes.ts`)
- Research API → Stratified Splitting: creates splits (evidence: `server/routes/researchRoutes.ts`)
- Research API → Research Augmentation: generates samples (evidence: `server/routes/researchRoutes.ts`)
- Research API → Classifier Evaluation: evaluates models (evidence: `server/routes/researchRoutes.ts`)
- Research API → Mongo Adapter: persists research (evidence: `server/routes/researchRoutes.ts`)
- API Server → Database Access: initializes (evidence: `server/index.ts`)
- API Server → Authentication Middleware: uses middleware (evidence: `server/index.ts`)
