# reshapthanan2006-dev/enola-srmp architecture

> Architecture diagram of the GitHub repository reshapthanan2006-dev/enola-srmp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/reshapthanan2006-dev/enola-srmp
- Repository: https://github.com/reshapthanan2006-dev/enola-srmp

## Overview

SRMP is a recruitment platform with an Angular client and ASP.NET Core API. Job seekers browse vacancies, maintain profiles and CVs, receive match information, and apply; employers manage vacancies and review or rank applicants. The client routes role-specific experiences to API-backed features, while services coordinate domain operations and repositories use the database. The tree documents additional admin, contact-request, and notification capabilities. Source excerpts are partial, so unsampled frontend-to-API calls and several backend service links are left unverified.

Main entry points: [`SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts) (Seeker routes), [`SRMP-FRONT_END/src/app/app.routes.ts`](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/app.routes.ts) (Role-based routes), [`SRMP-BACK_END/Services/ApplicationService.cs`](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/ApplicationService.cs) (Application workflow), [`SRMP-BACK_END/Controllers/JobVacancyController.cs`](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/JobVacancyController.cs) (Vacancy API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Client access"]
  node_client_routes["Role-based routes<br/>[app.routes.ts]"]
  node_auth_client["Client authentication<br/>[auth.service.ts]"]
  node_admin_client["Admin console<br/>[admin.routes.ts]"]
end

subgraph group_seeker["Seeker experience"]
  node_seeker_routes["Seeker routes<br/>[seeker.routes.ts]"]
  node_seeker_profile["Profile and CV"]
  node_job_browse["Job browsing"]
  node_matching_client["Matching jobs"]
  node_application_client["Applications"]
  node_contact_client["Contact requests"]
  node_notification_client["Notifications"]
end

subgraph group_employer["Employer experience"]
  node_employer_routes["Employer routes<br/>[employer.routes.ts]"]
  node_vacancy_client["Vacancy management<br/>[vacancy.service.ts]"]
  node_applicant_client["Applicant review"]
end

subgraph group_domain["API domain"]
  node_vacancy_api["Vacancy API"]
  node_application_api["Application API"]
  node_application_domain["Application workflow"]
  node_auth_domain["Authentication<br/>[AuthService.cs]"]
  node_matching_domain["Matching service"]
  node_profile_api["Profile and CV API"]
  node_contact_api["Contact request API"]
  node_notification_api["Notification API"]
  node_admin_api["Administration API<br/>[AdminController.cs]"]
end

subgraph group_storage["Persistence and integrations"]
  node_application_repo["Application repository"]
  node_vacancy_repo["Vacancy repository"]
  node_auth_repo["Authentication repository<br/>[AuthRepository.cs]"]
  node_database[("Application database<br/>[AppDbContext.cs]")]
  node_email["Email service<br/>[EmailService.cs]"]
end

node_jobseeker(("Job seeker"))
node_employer_actor(("Employer"))
node_administrator(("Administrator"))

node_jobseeker -->|"uses"| node_client_routes
node_employer_actor -->|"uses"| node_client_routes
node_administrator -->|"uses"| node_client_routes
node_client_routes -.->|"offers sign-in"| node_auth_client
node_client_routes -->|"loads"| node_seeker_routes
node_client_routes -->|"loads"| node_employer_routes
node_client_routes -->|"loads"| node_admin_client
node_seeker_routes -->|"routes to"| node_seeker_profile
node_seeker_routes -->|"routes to"| node_job_browse
node_seeker_routes -->|"routes to"| node_matching_client
node_seeker_routes -->|"routes to"| node_application_client
node_seeker_routes -->|"routes to"| node_contact_client
node_seeker_routes -->|"loads"| node_notification_client
node_employer_routes -->|"routes to"| node_vacancy_client
node_employer_routes -->|"routes to"| node_applicant_client
node_application_api -->|"delegates"| node_application_domain
node_application_domain -->|"uses"| node_application_repo
node_application_domain -->|"checks vacancy"| node_vacancy_api
node_application_domain -->|"ranks applicants"| node_matching_domain
node_application_domain -->|"notifies seeker"| node_notification_api
node_vacancy_api -->|"computes match"| node_matching_domain
node_auth_domain -->|"reads and writes"| node_auth_repo
node_auth_domain -->|"sends reset email"| node_email
node_vacancy_repo -->|"queries"| node_database
node_auth_repo -->|"queries"| node_database
node_application_repo -.->|"persists"| node_database
node_application_client -.->|"exchanges data"| node_application_api
node_vacancy_client -.->|"exchanges data"| node_vacancy_api
node_job_browse -.->|"requests listings"| node_vacancy_api
node_seeker_profile -.->|"exchanges data"| node_profile_api
node_contact_client -.->|"exchanges data"| node_contact_api
node_notification_client -.->|"exchanges data"| node_notification_api
node_admin_client -.->|"exchanges data"| node_admin_api

click node_client_routes "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/app.routes.ts"
click node_auth_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/core/auth/auth.service.ts"
click node_seeker_routes "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts"
click node_seeker_profile "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/pages/profile/profile.component.ts"
click node_job_browse "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/jobs/pages/job-list/job-list.component.ts"
click node_matching_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/pages/matching-jobs/matching-jobs.component.ts"
click node_application_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/services/application.service.ts"
click node_contact_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/services/contact-request.service.ts"
click node_notification_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/notifications/services/notification.service.ts"
click node_employer_routes "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/employer.routes.ts"
click node_vacancy_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/services/vacancy.service.ts"
click node_applicant_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/pages/applicants/applicants.component.ts"
click node_admin_client "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/admin/admin.routes.ts"
click node_vacancy_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/JobVacancyController.cs"
click node_application_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/ApplicationController.cs"
click node_application_domain "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/ApplicationService.cs"
click node_auth_domain "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/AuthService.cs"
click node_profile_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/JobSeekerProfileController.cs"
click node_contact_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/ContactRequestController.cs"
click node_notification_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/NotificationController.cs"
click node_admin_api "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/AdminController.cs"
click node_application_repo "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/ApplicationRepository.cs"
click node_vacancy_repo "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/JobVacancyRepository.cs"
click node_auth_repo "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/AuthRepository.cs"
click node_database "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Data/AppDbContext.cs"
click node_email "https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/EmailService.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_client_routes,node_auth_client,node_admin_client toneBlue
class node_seeker_routes,node_seeker_profile,node_job_browse,node_matching_client,node_application_client,node_contact_client,node_notification_client toneAmber
class node_employer_routes,node_vacancy_client,node_applicant_client toneMint
class node_vacancy_api,node_application_api,node_application_domain,node_auth_domain,node_matching_domain,node_profile_api,node_contact_api,node_notification_api,node_admin_api toneRose
class node_application_repo,node_vacancy_repo,node_auth_repo,node_database,node_email,node_jobseeker,node_employer_actor,node_administrator toneIndigo
```

## Components

### Client access

- [Role-based routes](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/app.routes.ts): `SRMP-FRONT_END/src/app/app.routes.ts`
- [Client authentication](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/core/auth/auth.service.ts): `SRMP-FRONT_END/src/app/core/auth/auth.service.ts`
- [Admin console](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/admin/admin.routes.ts): `SRMP-FRONT_END/src/app/features/admin/admin.routes.ts`

### Seeker experience

- [Seeker routes](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts): `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`
- [Profile and CV](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/pages/profile/profile.component.ts): `SRMP-FRONT_END/src/app/features/seeker/pages/profile/profile.component.ts`
- [Job browsing](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/jobs/pages/job-list/job-list.component.ts): `SRMP-FRONT_END/src/app/features/jobs/pages/job-list/job-list.component.ts`
- [Matching jobs](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/pages/matching-jobs/matching-jobs.component.ts): `SRMP-FRONT_END/src/app/features/seeker/pages/matching-jobs/matching-jobs.component.ts`
- [Applications](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/services/application.service.ts): `SRMP-FRONT_END/src/app/features/seeker/services/application.service.ts`
- [Contact requests](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/seeker/services/contact-request.service.ts): `SRMP-FRONT_END/src/app/features/seeker/services/contact-request.service.ts`
- [Notifications](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/notifications/services/notification.service.ts): `SRMP-FRONT_END/src/app/features/notifications/services/notification.service.ts`

### Employer experience

- [Employer routes](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/employer.routes.ts): `SRMP-FRONT_END/src/app/features/employer/employer.routes.ts`
- [Vacancy management](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/services/vacancy.service.ts): `SRMP-FRONT_END/src/app/features/employer/services/vacancy.service.ts`
- [Applicant review](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-FRONT_END/src/app/features/employer/pages/applicants/applicants.component.ts): `SRMP-FRONT_END/src/app/features/employer/pages/applicants/applicants.component.ts`

### API domain

- [Vacancy API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/JobVacancyController.cs): `SRMP-BACK_END/Controllers/JobVacancyController.cs`
- [Application API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/ApplicationController.cs): `SRMP-BACK_END/Controllers/ApplicationController.cs`
- [Application workflow](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/ApplicationService.cs): `SRMP-BACK_END/Services/ApplicationService.cs`
- [Authentication](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/AuthService.cs): `SRMP-BACK_END/Services/AuthService.cs`
- **Matching service**
- [Profile and CV API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/JobSeekerProfileController.cs): `SRMP-BACK_END/Controllers/JobSeekerProfileController.cs`
- [Contact request API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/ContactRequestController.cs): `SRMP-BACK_END/Controllers/ContactRequestController.cs`
- [Notification API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/NotificationController.cs): `SRMP-BACK_END/Controllers/NotificationController.cs`
- [Administration API](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Controllers/AdminController.cs): `SRMP-BACK_END/Controllers/AdminController.cs`

### Persistence and integrations

- [Application repository](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/ApplicationRepository.cs): `SRMP-BACK_END/Repositories/ApplicationRepository.cs`
- [Vacancy repository](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/JobVacancyRepository.cs): `SRMP-BACK_END/Repositories/JobVacancyRepository.cs`
- [Authentication repository](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Repositories/AuthRepository.cs): `SRMP-BACK_END/Repositories/AuthRepository.cs`
- [Application database](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Data/AppDbContext.cs): `SRMP-BACK_END/Data/AppDbContext.cs`
- [Email service](https://github.com/reshapthanan2006-dev/enola-srmp/blob/main/SRMP-BACK_END/Services/EmailService.cs): `SRMP-BACK_END/Services/EmailService.cs`

### Other components

- **Job seeker**
- **Employer**
- **Administrator**

## Connections

- Job seeker → Role-based routes: uses (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Employer → Role-based routes: uses (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Administrator → Role-based routes: uses (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Role-based routes → Client authentication: offers sign-in
- Role-based routes → Seeker routes: loads (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Role-based routes → Employer routes: loads (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Role-based routes → Admin console: loads (evidence: `SRMP-FRONT_END/src/app/app.routes.ts`)
- Seeker routes → Profile and CV: routes to (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Seeker routes → Job browsing: routes to (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Seeker routes → Matching jobs: routes to (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Seeker routes → Applications: routes to (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Seeker routes → Contact requests: routes to (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Seeker routes → Notifications: loads (evidence: `SRMP-FRONT_END/src/app/features/seeker/seeker.routes.ts`)
- Employer routes → Vacancy management: routes to (evidence: `SRMP-FRONT_END/src/app/features/employer/employer.routes.ts`)
- Employer routes → Applicant review: routes to (evidence: `SRMP-FRONT_END/src/app/features/employer/employer.routes.ts`)
- Application API → Application workflow: delegates (evidence: `SRMP-BACK_END/Controllers/ApplicationController.cs`)
- Application workflow → Application repository: uses (evidence: `SRMP-BACK_END/Services/ApplicationService.cs`)
- Application workflow → Vacancy API: checks vacancy (evidence: `SRMP-BACK_END/Services/ApplicationService.cs`)
- Application workflow → Matching service: ranks applicants (evidence: `SRMP-BACK_END/Services/ApplicationService.cs`)
- Application workflow → Notification API: notifies seeker (evidence: `SRMP-BACK_END/Services/ApplicationService.cs`)
- Vacancy API → Matching service: computes match (evidence: `SRMP-BACK_END/Controllers/JobVacancyController.cs`)
- Authentication → Authentication repository: reads and writes (evidence: `SRMP-BACK_END/Services/AuthService.cs`)
- Authentication → Email service: sends reset email (evidence: `SRMP-BACK_END/Services/AuthService.cs`)
- Vacancy repository → Application database: queries (evidence: `SRMP-BACK_END/Repositories/JobVacancyRepository.cs`)
- Authentication repository → Application database: queries (evidence: `SRMP-BACK_END/Repositories/AuthRepository.cs`)
- Application repository → Application database: persists
- Applications → Application API: exchanges data
- Vacancy management → Vacancy API: exchanges data
- Job browsing → Vacancy API: requests listings
- Profile and CV → Profile and CV API: exchanges data
- Contact requests → Contact request API: exchanges data
- Notifications → Notification API: exchanges data
- Admin console → Administration API: exchanges data
