# vaasubaxi/raleighsgottalent architecture

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

- Interactive diagram: https://gitdiagram.com/vaasubaxi/raleighsgottalent
- Repository: https://github.com/vaasubaxi/raleighsgottalent

## Overview

RaleighsGotTalent is an ASP.NET Core MVC website for a talent event. A visitor enters through the default Home route, which dispatches to page actions that return the site’s home, about, schedule, gallery, results, contact, or privacy views. The project also configures an EF Core SQL Server context for team, audition, schedule, and photo data, though the sampled controller does not use it. The views’ contents and any data-backed workflows are not shown, so those connections are omitted.

Main entry points: [`RaleighsGotTalent/Models/ApplicationDbContext.cs`](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/ApplicationDbContext.cs) (Data context), [`RaleighsGotTalent/Controllers/HomeController.cs`](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Controllers/HomeController.cs) (Home controller), [`RaleighsGotTalent/Program.cs`](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Program.cs) (ASP.NET runtime), [`RaleighsGotTalent/Models/Team.cs`](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Team.cs) (Team)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web runtime"]
  node_runtime["ASP.NET runtime<br/>[Program.cs]"]
  node_home["Home controller<br/>[HomeController.cs]"]
end

subgraph group_pages["Event pages"]
  node_pages["Site pages"]
  node_errorview["Error view<br/>[Error.cshtml]"]
end

subgraph group_domain["Event data"]
  node_errormodel["Error model<br/>[ErrorViewModel.cs]"]
  node_context["Data context"]
  node_team["Team<br/>[Team.cs]"]
  node_audition["Audition<br/>[Audition.cs]"]
  node_schedule["Schedule entry<br/>[Schedule.cs]"]
  node_photo["Gallery photo<br/>[Photo.cs]"]
end

node_visitor(("Visitor"))
node_sqlserver[("SQL Server")]

node_visitor -->|"requests pages"| node_runtime
node_runtime -->|"routes requests"| node_home
node_home -->|"returns views"| node_pages
node_home -->|"creates error model"| node_errormodel
node_home -.->|"returns error view"| node_errorview
node_runtime -->|"registers context"| node_context
node_context -->|"uses provider"| node_sqlserver
node_context -->|"exposes teams"| node_team
node_context -->|"exposes auditions"| node_audition
node_context -->|"exposes schedules"| node_schedule
node_context -->|"exposes photos"| node_photo
node_audition -->|"references team"| node_team
node_schedule -->|"references team"| node_team

click node_runtime "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Program.cs"
click node_home "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Controllers/HomeController.cs"
click node_pages "https://github.com/vaasubaxi/raleighsgottalent/tree/main/RaleighsGotTalent/Views/Home"
click node_errorview "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Views/Shared/Error.cshtml"
click node_errormodel "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/ErrorViewModel.cs"
click node_context "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/ApplicationDbContext.cs"
click node_team "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Team.cs"
click node_audition "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Audition.cs"
click node_schedule "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Schedule.cs"
click node_photo "https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Photo.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_runtime,node_home toneBlue
class node_pages,node_errorview,node_sqlserver toneAmber
class node_errormodel,node_context,node_team,node_audition,node_schedule,node_photo toneMint
class node_visitor toneIndigo
```

## Components

### Web runtime

- [ASP.NET runtime](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Program.cs): `RaleighsGotTalent/Program.cs`
- [Home controller](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Controllers/HomeController.cs): `RaleighsGotTalent/Controllers/HomeController.cs`

### Event pages

- [Site pages](https://github.com/vaasubaxi/raleighsgottalent/tree/main/RaleighsGotTalent/Views/Home): `RaleighsGotTalent/Views/Home`
- [Error view](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Views/Shared/Error.cshtml): `RaleighsGotTalent/Views/Shared/Error.cshtml`

### Event data

- [Error model](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/ErrorViewModel.cs): `RaleighsGotTalent/Models/ErrorViewModel.cs`
- [Data context](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/ApplicationDbContext.cs): `RaleighsGotTalent/Models/ApplicationDbContext.cs`
- [Team](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Team.cs): `RaleighsGotTalent/Models/Team.cs`
- [Audition](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Audition.cs): `RaleighsGotTalent/Models/Audition.cs`
- [Schedule entry](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Schedule.cs): `RaleighsGotTalent/Models/Schedule.cs`
- [Gallery photo](https://github.com/vaasubaxi/raleighsgottalent/blob/main/RaleighsGotTalent/Models/Photo.cs): `RaleighsGotTalent/Models/Photo.cs`

### Other components

- **Visitor**
- **SQL Server**

## Connections

- Visitor → ASP.NET runtime: requests pages (evidence: `RaleighsGotTalent/Program.cs`)
- ASP.NET runtime → Home controller: routes requests (evidence: `RaleighsGotTalent/Program.cs`)
- Home controller → Site pages: returns views (evidence: `RaleighsGotTalent/Controllers/HomeController.cs`)
- Home controller → Error model: creates error model (evidence: `RaleighsGotTalent/Controllers/HomeController.cs`)
- Home controller → Error view: returns error view
- ASP.NET runtime → Data context: registers context (evidence: `RaleighsGotTalent/Program.cs`)
- Data context → SQL Server: uses provider
- Data context → Team: exposes teams (evidence: `RaleighsGotTalent/Models/ApplicationDbContext.cs`)
- Data context → Audition: exposes auditions (evidence: `RaleighsGotTalent/Models/ApplicationDbContext.cs`)
- Data context → Schedule entry: exposes schedules (evidence: `RaleighsGotTalent/Models/ApplicationDbContext.cs`)
- Data context → Gallery photo: exposes photos (evidence: `RaleighsGotTalent/Models/ApplicationDbContext.cs`)
- Audition → Team: references team (evidence: `RaleighsGotTalent/Models/Audition.cs`)
- Schedule entry → Team: references team (evidence: `RaleighsGotTalent/Models/Schedule.cs`)
