# sivasubramanian2004/placementmanagementsystem architecture

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

## Overview

PMS is a role-based placement-management API. Users register or log in, students maintain profiles and education records, and placement staff manage departments, companies, and drives; students then apply, with eligibility checks and application status tracking. Applications also support email notifications and Excel export, while dashboards summarize placement activity. The graph reflects documented workflows and the sampled controller/service and persistence references; unsampled service internals are represented only where the README or SOURCE INDEX supports them.

Main entry points: [`PMS.Service/Applicationss/ApplicationService.cs`](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Applicationss/ApplicationService.cs) (Applications), [`PMS.Data/Repositories/Repository.cs`](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/Repositories/Repository.cs) (Repository layer), [`PMS.Service/PlacementDrives/PlacementDriveService.cs`](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/PlacementDrives/PlacementDriveService.cs) (Placement drives), [`PMS.Service/Students/StudentService.cs`](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Students/StudentService.cs) (Student profiles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["API and identity"]
  node_auth_api["Authentication API<br/>[AuthController.cs]"]
  node_student_api["Student API"]
  node_drive_api["Placement drive API"]
  node_application_api["Application API"]
  node_department_api["Department API"]
  node_company_api["Company API"]
  node_dashboard_api["Dashboard API"]
end

subgraph group_domain["Placement domain"]
  node_auth["Authentication<br/>[AuthService.cs]"]
  node_students["Student profiles<br/>[StudentService.cs]"]
  node_departments["Departments"]
  node_companies["Companies<br/>[CompanyService.cs]"]
  node_drives["Placement drives"]
  node_applications["Applications"]
  node_dashboard["Dashboard metrics"]
end

subgraph group_services["Business services"]
end

subgraph group_persistence["Persistence and integrations"]
  node_repository["Repository layer<br/>[Repository.cs]"]
  node_unitofwork["Unit of work<br/>[UnitOfWork.cs]"]
  node_database[("SQL Server data<br/>[AppDbContext.cs]")]
  node_email["Email delivery<br/>[EmailService.cs]"]
  node_file_storage["File storage"]
  node_excel["Excel export"]
end

node_client(("API client"))

node_client -->|"requests"| node_auth_api
node_client -->|"requests"| node_student_api
node_client -->|"requests"| node_drive_api
node_client -->|"requests"| node_application_api
node_client -->|"requests"| node_department_api
node_client -->|"requests"| node_company_api
node_client -.->|"requests"| node_dashboard_api
node_auth_api -->|"delegates"| node_auth
node_student_api -->|"delegates"| node_students
node_drive_api -->|"delegates"| node_drives
node_application_api -->|"delegates"| node_applications
node_department_api -.->|"delegates"| node_departments
node_company_api -.->|"delegates"| node_companies
node_dashboard_api -.->|"delegates"| node_dashboard
node_auth -->|"queries users"| node_repository
node_auth -->|"sends mail"| node_email
node_students -.->|"uses repository"| node_repository
node_departments -->|"queries departments"| node_repository
node_companies -->|"queries companies"| node_repository
node_drives -->|"queries records"| node_repository
node_drives -->|"saves changes"| node_unitofwork
node_applications -.->|"uses repository"| node_repository
node_applications -.->|"saves changes"| node_unitofwork
node_applications -.->|"notifies applicant"| node_email
node_applications -->|"generates workbook"| node_excel
node_dashboard -->|"queries metrics"| node_repository
node_repository -->|"queries and updates"| node_database
node_unitofwork -.->|"persists changes"| node_database
node_students -.->|"uploads documents"| node_file_storage
node_drives -->|"checks company"| node_companies
node_drives -->|"checks eligibility"| node_departments
node_applications -.->|"checks student eligibility"| node_students
node_applications -.->|"checks drive eligibility"| node_drives

click node_auth_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/AuthController.cs"
click node_student_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/StudentController.cs"
click node_drive_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/PlacementDriveController.cs"
click node_application_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/ApplicationController.cs"
click node_department_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/DepartmentController.cs"
click node_company_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/CompanyController.cs"
click node_dashboard_api "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/DashboardController.cs"
click node_auth "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Authentication/AuthService.cs"
click node_students "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Students/StudentService.cs"
click node_departments "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Departments/DepartmentService.cs"
click node_companies "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Companies/CompanyService.cs"
click node_drives "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/PlacementDrives/PlacementDriveService.cs"
click node_applications "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Applicationss/ApplicationService.cs"
click node_dashboard "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Dashboard/DashboardService.cs"
click node_repository "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/Repositories/Repository.cs"
click node_unitofwork "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/UnitOfWork/UnitOfWork.cs"
click node_database "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/AppDbContext.cs"
click node_email "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Email/EmailService.cs"
click node_file_storage "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/FileStorage/FileStorageService.cs"
click node_excel "https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Applicationss/ApplicationService.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_auth_api,node_student_api,node_drive_api,node_application_api,node_department_api,node_company_api,node_dashboard_api,node_client toneBlue
class node_auth,node_students,node_departments,node_companies,node_drives,node_applications,node_dashboard toneAmber
class node_repository,node_unitofwork,node_database,node_email,node_file_storage,node_excel toneRose
```

## Components

### API and identity

- [Authentication API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/AuthController.cs): `PMS.API/Controllers/AuthController.cs`
- [Student API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/StudentController.cs): `PMS.API/Controllers/StudentController.cs`
- [Placement drive API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/PlacementDriveController.cs): `PMS.API/Controllers/PlacementDriveController.cs`
- [Application API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/ApplicationController.cs): `PMS.API/Controllers/ApplicationController.cs`
- [Department API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/DepartmentController.cs): `PMS.API/Controllers/DepartmentController.cs`
- [Company API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/CompanyController.cs): `PMS.API/Controllers/CompanyController.cs`
- [Dashboard API](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.API/Controllers/DashboardController.cs): `PMS.API/Controllers/DashboardController.cs`

### Placement domain

- [Authentication](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Authentication/AuthService.cs): `PMS.Service/Authentication/AuthService.cs`
- [Student profiles](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Students/StudentService.cs): `PMS.Service/Students/StudentService.cs`
- [Departments](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Departments/DepartmentService.cs): `PMS.Service/Departments/DepartmentService.cs`
- [Companies](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Companies/CompanyService.cs): `PMS.Service/Companies/CompanyService.cs`
- [Placement drives](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/PlacementDrives/PlacementDriveService.cs): `PMS.Service/PlacementDrives/PlacementDriveService.cs`
- [Applications](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Applicationss/ApplicationService.cs): `PMS.Service/Applicationss/ApplicationService.cs`
- [Dashboard metrics](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Dashboard/DashboardService.cs): `PMS.Service/Dashboard/DashboardService.cs`

### Persistence and integrations

- [Repository layer](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/Repositories/Repository.cs): `PMS.Data/Repositories/Repository.cs`
- [Unit of work](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/UnitOfWork/UnitOfWork.cs): `PMS.Data/UnitOfWork/UnitOfWork.cs`
- [SQL Server data](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Data/AppDbContext.cs): `PMS.Data/AppDbContext.cs`
- [Email delivery](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Email/EmailService.cs): `PMS.Service/Email/EmailService.cs`
- [File storage](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/FileStorage/FileStorageService.cs): `PMS.Service/FileStorage/FileStorageService.cs`
- [Excel export](https://github.com/sivasubramanian2004/placementmanagementsystem/blob/main/PMS.Service/Applicationss/ApplicationService.cs): `PMS.Service/Applicationss/ApplicationService.cs`

### Other components

- **API client**

## Connections

- API client → Authentication API: requests (evidence: `README.md`)
- API client → Student API: requests (evidence: `README.md`)
- API client → Placement drive API: requests (evidence: `README.md`)
- API client → Application API: requests (evidence: `README.md`)
- API client → Department API: requests (evidence: `README.md`)
- API client → Company API: requests (evidence: `README.md`)
- API client → Dashboard API: requests
- Authentication API → Authentication: delegates (evidence: `PMS.API/Controllers/AuthController.cs`)
- Student API → Student profiles: delegates (evidence: `PMS.API/Controllers/StudentController.cs`)
- Placement drive API → Placement drives: delegates (evidence: `PMS.API/Controllers/PlacementDriveController.cs`)
- Application API → Applications: delegates (evidence: `PMS.API/Controllers/ApplicationController.cs`)
- Department API → Departments: delegates
- Company API → Companies: delegates
- Dashboard API → Dashboard metrics: delegates
- Authentication → Repository layer: queries users (evidence: `PMS.Service/Authentication/AuthService.cs`)
- Authentication → Email delivery: sends mail (evidence: `PMS.Service/Authentication/AuthService.cs`)
- Student profiles → Repository layer: uses repository
- Departments → Repository layer: queries departments (evidence: `PMS.Service/Departments/DepartmentService.cs`)
- Companies → Repository layer: queries companies (evidence: `PMS.Service/Companies/CompanyService.cs`)
- Placement drives → Repository layer: queries records (evidence: `PMS.Service/PlacementDrives/PlacementDriveService.cs`)
- Placement drives → Unit of work: saves changes (evidence: `PMS.Service/PlacementDrives/PlacementDriveService.cs`)
- Applications → Repository layer: uses repository
- Applications → Unit of work: saves changes
- Applications → Email delivery: notifies applicant (evidence: `README.md`)
- Applications → Excel export: generates workbook (evidence: `README.md`)
- Dashboard metrics → Repository layer: queries metrics (evidence: `PMS.Service/Dashboard/DashboardService.cs`)
- Repository layer → SQL Server data: queries and updates (evidence: `PMS.Data/Repositories/Repository.cs`)
- Unit of work → SQL Server data: persists changes
- Student profiles → File storage: uploads documents (evidence: `README.md`)
- Placement drives → Companies: checks company (evidence: `PMS.Service/PlacementDrives/PlacementDriveService.cs`)
- Placement drives → Departments: checks eligibility (evidence: `PMS.Service/PlacementDrives/PlacementDriveService.cs`)
- Applications → Student profiles: checks student eligibility (evidence: `README.md`)
- Applications → Placement drives: checks drive eligibility (evidence: `README.md`)
