# sivasubramanian2004/resumemanagement architecture

> Architecture diagram of the GitHub repository sivasubramanian2004/resumemanagement, 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/sivasubramanian2004/resumemanagement
- Repository: https://github.com/sivasubramanian2004/resumemanagement

## Overview

ResumeManagement is an applicant and resume management API. Its main workflow accepts applicant details and a resume, validates and stores the file, then persists applicant metadata; clients can list, update, delete, download resumes, and export applicant data to Excel. The graph separates HTTP handling, application operations, persistence, and file storage. Relationships reflect the excerpts and SOURCE INDEX references; implementation details for unsampled modules are not assumed.

Main entry points: [`ResumeManagement.Api/Services/ApplicantService.cs`](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/ApplicantService.cs) (Applicant Service), [`ResumeManagement.Api/Controllers/ApplicantController.cs`](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Controllers/ApplicantController.cs) (Applicant Routes), [`ResumeManagement.Api/Services/FileStorageService.cs`](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/FileStorageService.cs) (File Storage Service), [`ResumeManagement.Api/Repositories/Repository.CS`](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Repositories/Repository.CS) (Generic Repository)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["HTTP API"]
  node_controller["Applicant Routes"]
  node_response["API Responses<br/>[ApiResponse.cs]"]
  node_create_dto["Applicant Input"]
  node_response_dto["Applicant Output"]
  node_middleware["Exception Handling"]
  node_middleware_extension["Middleware Setup"]
end

subgraph group_application["Applicant Operations"]
  node_app_service["Applicant Service"]
  node_app_interface["Applicant Contract"]
  node_url_service["URL Helper<br/>[UrlService.cs]"]
end

subgraph group_persistence["Persistence"]
  node_repository["Generic Repository<br/>[Repository.CS]"]
  node_repository_interface["Repository Contract<br/>[IRepository.cs]"]
  node_db_context["Applicant Context<br/>[AppDbContext.cs]"]
  node_applicant["Applicant Record<br/>[Applicant.cs]"]
  node_database[("Relational Database")]
end

subgraph group_files["Resume Storage"]
  node_file_service["File Storage Service"]
  node_file_interface["File Storage Contract"]
  node_file_settings["File Settings<br/>[FileSettings.cs]"]
  node_upload_result["Upload Result"]
  node_filesystem[("Private File System")]
end

node_client(("API Client"))

node_client -->|"sends requests"| node_controller
node_controller -->|"dispatches operations"| node_app_service
node_controller -->|"accepts input"| node_create_dto
node_controller -->|"wraps results"| node_response
node_app_service -->|"implements contract"| node_app_interface
node_app_service -->|"queries and saves"| node_repository
node_repository -->|"uses context"| node_db_context
node_db_context -->|"maps entity"| node_applicant
node_repository -.->|"persists records"| node_database
node_app_service -->|"creates and updates"| node_applicant
node_app_service -->|"reads submitted fields"| node_create_dto
node_app_service -->|"projects applicant data"| node_response_dto
node_controller -->|"returns listings"| node_response_dto
node_app_service -->|"uploads and removes files"| node_file_service
node_file_service -->|"uses settings"| node_file_settings
node_file_service -->|"returns upload metadata"| node_upload_result
node_file_service -->|"writes and deletes files"| node_filesystem
node_app_service -->|"builds URLs"| node_url_service
node_middleware_extension -->|"registers middleware"| node_middleware
node_middleware -->|"formats errors"| node_response

click node_controller "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Controllers/ApplicantController.cs"
click node_response "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/ApiResponse.cs"
click node_create_dto "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/DTOs/CreateApplicantDto.cs"
click node_response_dto "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/DTOs/ApplicantResponseDto.cs"
click node_middleware "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Middleware/ExceptionMiddleware.cs"
click node_middleware_extension "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Middleware/MiddlewareExtensions.cs"
click node_app_service "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/ApplicantService.cs"
click node_app_interface "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Interfaces/IApplicantService.cs"
click node_url_service "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Helpers/UrlService.cs"
click node_repository "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Repositories/Repository.CS"
click node_repository_interface "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Repositories/IRepository.cs"
click node_db_context "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/AppDbContext.cs"
click node_applicant "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Entities/Applicant.cs"
click node_file_service "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/FileStorageService.cs"
click node_file_interface "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Interfaces/IFileStorageService.cs"
click node_file_settings "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/FileSettings.cs"
click node_upload_result "https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/FileUploadResult.cs"

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_controller,node_response,node_create_dto,node_response_dto,node_middleware,node_middleware_extension,node_client toneBlue
class node_app_service,node_app_interface,node_url_service toneAmber
class node_repository,node_repository_interface,node_db_context,node_applicant,node_database toneMint
class node_file_service,node_file_interface,node_file_settings,node_upload_result,node_filesystem toneRose
```

## Components

### HTTP API

- [Applicant Routes](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Controllers/ApplicantController.cs): `ResumeManagement.Api/Controllers/ApplicantController.cs`
- [API Responses](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/ApiResponse.cs): `ResumeManagement.Api/Utils/ApiResponse.cs`
- [Applicant Input](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/DTOs/CreateApplicantDto.cs): `ResumeManagement.Api/DTOs/CreateApplicantDto.cs`
- [Applicant Output](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/DTOs/ApplicantResponseDto.cs): `ResumeManagement.Api/DTOs/ApplicantResponseDto.cs`
- [Exception Handling](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Middleware/ExceptionMiddleware.cs): `ResumeManagement.Api/Middleware/ExceptionMiddleware.cs`
- [Middleware Setup](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Middleware/MiddlewareExtensions.cs): `ResumeManagement.Api/Middleware/MiddlewareExtensions.cs`

### Applicant Operations

- [Applicant Service](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/ApplicantService.cs): `ResumeManagement.Api/Services/ApplicantService.cs`
- [Applicant Contract](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Interfaces/IApplicantService.cs): `ResumeManagement.Api/Interfaces/IApplicantService.cs`
- [URL Helper](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Helpers/UrlService.cs): `ResumeManagement.Api/Helpers/UrlService.cs`

### Persistence

- [Generic Repository](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Repositories/Repository.CS): `ResumeManagement.Api/Repositories/Repository.CS`
- [Repository Contract](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Repositories/IRepository.cs): `ResumeManagement.Api/Repositories/IRepository.cs`
- [Applicant Context](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/AppDbContext.cs): `ResumeManagement.Api/AppDbContext.cs`
- [Applicant Record](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Entities/Applicant.cs): `ResumeManagement.Api/Entities/Applicant.cs`
- **Relational Database**

### Resume Storage

- [File Storage Service](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Services/FileStorageService.cs): `ResumeManagement.Api/Services/FileStorageService.cs`
- [File Storage Contract](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Interfaces/IFileStorageService.cs): `ResumeManagement.Api/Interfaces/IFileStorageService.cs`
- [File Settings](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/FileSettings.cs): `ResumeManagement.Api/Utils/FileSettings.cs`
- [Upload Result](https://github.com/sivasubramanian2004/resumemanagement/blob/main/ResumeManagement.Api/Utils/FileUploadResult.cs): `ResumeManagement.Api/Utils/FileUploadResult.cs`
- **Private File System**

### Other components

- **API Client**

## Connections

- API Client → Applicant Routes: sends requests (evidence: `ResumeManagement.Api/Controllers/ApplicantController.cs`)
- Applicant Routes → Applicant Service: dispatches operations (evidence: `ResumeManagement.Api/Controllers/ApplicantController.cs`)
- Applicant Routes → Applicant Input: accepts input (evidence: `ResumeManagement.Api/Controllers/ApplicantController.cs`)
- Applicant Routes → API Responses: wraps results (evidence: `ResumeManagement.Api/Controllers/ApplicantController.cs`)
- Applicant Service → Applicant Contract: implements contract (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Applicant Service → Generic Repository: queries and saves (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Generic Repository → Applicant Context: uses context (evidence: `ResumeManagement.Api/Repositories/Repository.CS`)
- Applicant Context → Applicant Record: maps entity (evidence: `ResumeManagement.Api/AppDbContext.cs`)
- Generic Repository → Relational Database: persists records
- Applicant Service → Applicant Record: creates and updates (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Applicant Service → Applicant Input: reads submitted fields (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Applicant Service → Applicant Output: projects applicant data (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Applicant Routes → Applicant Output: returns listings (evidence: `ResumeManagement.Api/Controllers/ApplicantController.cs`)
- Applicant Service → File Storage Service: uploads and removes files (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- File Storage Service → File Settings: uses settings (evidence: `ResumeManagement.Api/Services/FileStorageService.cs`)
- File Storage Service → Upload Result: returns upload metadata (evidence: `ResumeManagement.Api/Services/FileStorageService.cs`)
- File Storage Service → Private File System: writes and deletes files (evidence: `ResumeManagement.Api/Services/FileStorageService.cs`)
- Applicant Service → URL Helper: builds URLs (evidence: `ResumeManagement.Api/Services/ApplicantService.cs`)
- Middleware Setup → Exception Handling: registers middleware (evidence: `ResumeManagement.Api/Middleware/MiddlewareExtensions.cs`)
- Exception Handling → API Responses: formats errors (evidence: `ResumeManagement.Api/Middleware/ExceptionMiddleware.cs`)
