# nixhantb/rinzo architecture

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

- Interactive diagram: https://gitdiagram.com/nixhantb/rinzo
- Repository: https://github.com/nixhantb/rinzo
- Video tour (about a minute): https://gitdiagram.com/nixhantb/rinzo/video

## Overview

Rinzo is a recruitment platform with a Vue client and a .NET API organized around employer/company, job, seeker, and job-application workflows. API controllers delegate to application services, which validate requests, apply domain rules, and use repository abstractions; infrastructure implements persistence through Entity Framework Core. Identity, caching, export, and domain-event handling are present in the tree, but their wiring is not established by the sampled source. Client-to-API and some infrastructure relationships are therefore omitted rather than inferred.

Main entry points: [`Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs`](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs) (Company repository), [`Server/Rinzo.Application/Applications/ApplicationService.cs`](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Applications/ApplicationService.cs) (Job applications), [`Server/Rinzo.Infrastructure/Persistence/AppDbContext.cs`](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/AppDbContext.cs) (Recruitment database), [`Server/Rinzo.Application/Employers/EmployerService.cs`](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Employers/EmployerService.cs) (Employer management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web client"]
  node_client_app["Vue application<br/>[App.vue]"]
  node_client_views["Platform views<br/>[Home.vue]"]
end

subgraph group_api["HTTP API"]
  node_accounts_api["Account endpoints"]
  node_companies_api["Company endpoints"]
  node_employers_api["Employer endpoints"]
  node_jobs_api["Job endpoints<br/>[JobsController.cs]"]
  node_seekers_api["Seeker endpoints"]
  node_applications_api["Application endpoints"]
end

subgraph group_application["Application services"]
  node_company_service["Company management<br/>[CompanyService.cs]"]
  node_employer_service["Employer management<br/>[EmployerService.cs]"]
  node_job_service["Job management<br/>[JobService.cs]"]
  node_seeker_service["Seeker profiles<br/>[SeekerService.cs]"]
  node_application_service["Job applications"]
  node_export["Data export<br/>[ExporterFactory.cs]"]
  node_cached_services["Cached service wrappers"]
end

subgraph group_domain["Recruitment domain"]
  node_company_domain["Company entity<br/>[Company.cs]"]
  node_employer_domain["Employer entity<br/>[Employer.cs]"]
  node_job_domain["Job entity<br/>[Job.cs]"]
  node_seeker_domain["Seeker entity<br/>[Seeker.cs]"]
  node_application_domain["Job application entity<br/>[JobApplication.cs]"]
end

subgraph group_infrastructure["Infrastructure"]
  node_repository_layer["Generic repositories<br/>[Repository.cs]"]
  node_company_repository["Company repository"]
  node_application_repository["Application repository"]
  node_database_context[("Recruitment database<br/>[AppDbContext.cs]")]
  node_identity_context[("Identity context<br/>[AppDBContext.cs]")]
  node_domain_events["Domain event dispatch"]
end

node_browser_user(("Platform user"))

node_browser_user -.->|"uses"| node_client_app
node_companies_api -->|"calls"| node_company_service
node_employers_api -->|"calls"| node_employer_service
node_jobs_api -->|"calls"| node_job_service
node_seekers_api -->|"calls"| node_seeker_service
node_applications_api -->|"calls"| node_application_service
node_company_service -->|"creates and updates"| node_company_domain
node_employer_service -->|"checks company"| node_company_repository
node_employer_service -->|"creates and updates"| node_employer_domain
node_job_service -.->|"checks company"| node_company_repository
node_job_service -->|"creates and updates"| node_job_domain
node_seeker_service -->|"creates and updates"| node_seeker_domain
node_application_service -->|"creates and changes"| node_application_domain
node_application_service -->|"checks company"| node_company_repository
node_application_service -.->|"persists through"| node_database_context
node_repository_layer -->|"queries"| node_database_context
node_company_repository -->|"inherits"| node_repository_layer
node_company_repository -->|"uses"| node_database_context
node_application_repository -->|"inherits"| node_repository_layer
node_application_repository -->|"uses"| node_database_context
node_company_domain -.->|"raises event for"| node_domain_events
node_job_domain -.->|"raises event for"| node_domain_events
node_application_domain -.->|"raises event for"| node_domain_events

click node_client_app "https://github.com/nixhantb/rinzo/blob/main/client/src/App.vue"
click node_client_views "https://github.com/nixhantb/rinzo/blob/main/client/src/views/Home.vue"
click node_accounts_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Identity/Accounts/AccountsController.cs"
click node_companies_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Companies/CompaniesController.cs"
click node_employers_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Employers/EmployersController.cs"
click node_jobs_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Jobs/JobsController.cs"
click node_seekers_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Seekers/SeekersController.cs"
click node_applications_api "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Applications/ApplicationsController.cs"
click node_company_service "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Companies/CompanyService.cs"
click node_employer_service "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Employers/EmployerService.cs"
click node_job_service "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Jobs/JobService.cs"
click node_seeker_service "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Seekers/SeekerService.cs"
click node_application_service "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Applications/ApplicationService.cs"
click node_company_domain "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Companies/Company.cs"
click node_employer_domain "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Employers/Employer.cs"
click node_job_domain "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Jobs/Job.cs"
click node_seeker_domain "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Seekers/Seeker.cs"
click node_application_domain "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Applications/JobApplication.cs"
click node_repository_layer "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/Repository.cs"
click node_company_repository "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs"
click node_application_repository "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/ApplicationRepository.cs"
click node_database_context "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/AppDbContext.cs"
click node_identity_context "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Data/Contexts/Identity/AppDBContext.cs"
click node_domain_events "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Events/DomainEventDispatcher.cs"
click node_export "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Export/ExporterFactory.cs"
click node_cached_services "https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Applications/CachedApplicationService.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_app,node_client_views,node_browser_user toneBlue
class node_accounts_api,node_companies_api,node_employers_api,node_jobs_api,node_seekers_api,node_applications_api toneAmber
class node_company_service,node_employer_service,node_job_service,node_seeker_service,node_application_service,node_export,node_cached_services toneMint
class node_company_domain,node_employer_domain,node_job_domain,node_seeker_domain,node_application_domain toneRose
class node_repository_layer,node_company_repository,node_application_repository,node_database_context,node_identity_context,node_domain_events toneIndigo
```

## Components

### Web client

- [Vue application](https://github.com/nixhantb/rinzo/blob/main/client/src/App.vue): `client/src/App.vue`
- [Platform views](https://github.com/nixhantb/rinzo/blob/main/client/src/views/Home.vue): `client/src/views/Home.vue`

### HTTP API

- [Account endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Identity/Accounts/AccountsController.cs): `Server/Rinzo.WebApi/Controllers/Identity/Accounts/AccountsController.cs`
- [Company endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Companies/CompaniesController.cs): `Server/Rinzo.WebApi/Controllers/Companies/CompaniesController.cs`
- [Employer endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Employers/EmployersController.cs): `Server/Rinzo.WebApi/Controllers/Employers/EmployersController.cs`
- [Job endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Jobs/JobsController.cs): `Server/Rinzo.WebApi/Controllers/Jobs/JobsController.cs`
- [Seeker endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Seekers/SeekersController.cs): `Server/Rinzo.WebApi/Controllers/Seekers/SeekersController.cs`
- [Application endpoints](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.WebApi/Controllers/Applications/ApplicationsController.cs): `Server/Rinzo.WebApi/Controllers/Applications/ApplicationsController.cs`

### Application services

- [Company management](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Companies/CompanyService.cs): `Server/Rinzo.Application/Companies/CompanyService.cs`
- [Employer management](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Employers/EmployerService.cs): `Server/Rinzo.Application/Employers/EmployerService.cs`
- [Job management](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Jobs/JobService.cs): `Server/Rinzo.Application/Jobs/JobService.cs`
- [Seeker profiles](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Seekers/SeekerService.cs): `Server/Rinzo.Application/Seekers/SeekerService.cs`
- [Job applications](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Applications/ApplicationService.cs): `Server/Rinzo.Application/Applications/ApplicationService.cs`
- [Data export](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Export/ExporterFactory.cs): `Server/Rinzo.Application/Export/ExporterFactory.cs`
- [Cached service wrappers](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Application/Applications/CachedApplicationService.cs): `Server/Rinzo.Application/Applications/CachedApplicationService.cs`

### Recruitment domain

- [Company entity](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Companies/Company.cs): `Server/Rinzo.Domain/Companies/Company.cs`
- [Employer entity](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Employers/Employer.cs): `Server/Rinzo.Domain/Employers/Employer.cs`
- [Job entity](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Jobs/Job.cs): `Server/Rinzo.Domain/Jobs/Job.cs`
- [Seeker entity](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Seekers/Seeker.cs): `Server/Rinzo.Domain/Seekers/Seeker.cs`
- [Job application entity](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Domain/Applications/JobApplication.cs): `Server/Rinzo.Domain/Applications/JobApplication.cs`

### Infrastructure

- [Generic repositories](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/Repository.cs): `Server/Rinzo.Infrastructure/Persistence/Repositories/Repository.cs`
- [Company repository](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs): `Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs`
- [Application repository](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/Repositories/ApplicationRepository.cs): `Server/Rinzo.Infrastructure/Persistence/Repositories/ApplicationRepository.cs`
- [Recruitment database](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Persistence/AppDbContext.cs): `Server/Rinzo.Infrastructure/Persistence/AppDbContext.cs`
- [Identity context](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Data/Contexts/Identity/AppDBContext.cs): `Server/Rinzo.Infrastructure/Data/Contexts/Identity/AppDBContext.cs`
- [Domain event dispatch](https://github.com/nixhantb/rinzo/blob/main/Server/Rinzo.Infrastructure/Events/DomainEventDispatcher.cs): `Server/Rinzo.Infrastructure/Events/DomainEventDispatcher.cs`

### Other components

- **Platform user**

## Connections

- Platform user → Vue application: uses
- Company endpoints → Company management: calls (evidence: `Server/Rinzo.WebApi/Controllers/Companies/CompaniesController.cs`)
- Employer endpoints → Employer management: calls (evidence: `Server/Rinzo.WebApi/Controllers/Employers/EmployersController.cs`)
- Job endpoints → Job management: calls (evidence: `Server/Rinzo.WebApi/Controllers/Jobs/JobsController.cs`)
- Seeker endpoints → Seeker profiles: calls (evidence: `Server/Rinzo.WebApi/Controllers/Seekers/SeekersController.cs`)
- Application endpoints → Job applications: calls (evidence: `Server/Rinzo.WebApi/Controllers/Applications/ApplicationsController.cs`)
- Company management → Company entity: creates and updates (evidence: `Server/Rinzo.Application/Companies/CompanyService.cs`)
- Employer management → Company repository: checks company (evidence: `Server/Rinzo.Application/Employers/EmployerService.cs`)
- Employer management → Employer entity: creates and updates (evidence: `Server/Rinzo.Application/Employers/EmployerService.cs`)
- Job management → Company repository: checks company
- Job management → Job entity: creates and updates (evidence: `Server/Rinzo.Application/Jobs/JobService.cs`)
- Seeker profiles → Seeker entity: creates and updates (evidence: `Server/Rinzo.Application/Seekers/SeekerService.cs`)
- Job applications → Job application entity: creates and changes (evidence: `Server/Rinzo.Application/Applications/ApplicationService.cs`)
- Job applications → Company repository: checks company (evidence: `Server/Rinzo.Application/Applications/ApplicationService.cs`)
- Job applications → Recruitment database: persists through
- Generic repositories → Recruitment database: queries (evidence: `Server/Rinzo.Infrastructure/Persistence/Repositories/Repository.cs`)
- Company repository → Generic repositories: inherits (evidence: `Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs`)
- Company repository → Recruitment database: uses (evidence: `Server/Rinzo.Infrastructure/Persistence/Repositories/CompanyRepository.cs`)
- Application repository → Generic repositories: inherits (evidence: `Server/Rinzo.Infrastructure/Persistence/Repositories/ApplicationRepository.cs`)
- Application repository → Recruitment database: uses (evidence: `Server/Rinzo.Infrastructure/Persistence/Repositories/ApplicationRepository.cs`)
- Company entity → Domain event dispatch: raises event for
- Job entity → Domain event dispatch: raises event for
- Job application entity → Domain event dispatch: raises event for
