# prateek043/recruiterconnect architecture

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

- Interactive diagram: https://gitdiagram.com/prateek043/recruiterconnect
- Repository: https://github.com/prateek043/recruiterconnect

## Overview

RecruiterReach is a frontend for job seekers to plan and manage recruiter outreach. Users can explore the product and plans, sign up or log in, then enter a protected dashboard with home, email editing, contacts, analytics, and settings. Authentication is currently local demo state: the context creates a placeholder user rather than calling an authentication service. Dashboard modules are routed by the app, but several were not excerpted; their specific behavior and any backend or external integrations cannot be confirmed from the available evidence.

Main entry points: [`src/App.tsx`](https://github.com/prateek043/recruiterconnect/blob/main/src/App.tsx) (Routes and guards), [`src/components/ui/button.tsx`](https://github.com/prateek043/recruiterconnect/blob/main/src/components/ui/button.tsx) (Button component), [`src/contexts/AuthContext.tsx`](https://github.com/prateek043/recruiterconnect/blob/main/src/contexts/AuthContext.tsx) (Auth state), [`src/pages/LandingPage.tsx`](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/LandingPage.tsx) (Product landing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app["Routes and guards<br/>[App.tsx]"]
  node_auth["Auth state<br/>[AuthContext.tsx]"]
end

subgraph group_access["Public access"]
  node_landing["Product landing<br/>[LandingPage.tsx]"]
  node_login["Login<br/>[LoginPage.tsx]"]
  node_signup["Signup<br/>[SignupPage.tsx]"]
  node_pricing["Plan cards<br/>[pricing-card.tsx]"]
  node_testimonials["Testimonials"]
end

subgraph group_dashboard["Outreach dashboard"]
  node_layout["Dashboard shell"]
  node_home["Dashboard home<br/>[DashboardHome.tsx]"]
  node_email["Email editor<br/>[EmailEditor.tsx]"]
  node_contacts["Contact manager<br/>[Contacts.tsx]"]
  node_analytics["Outreach analytics<br/>[Analytics.tsx]"]
  node_settings["Account settings<br/>[Settings.tsx]"]
end

subgraph group_shared["Shared UI"]
  node_button["Button component<br/>[button.tsx]"]
  node_utils["Class utilities<br/>[utils.ts]"]
end

node_jobseeker(("Job seeker"))

node_jobseeker -->|"uses app"| node_app
node_app -->|"provides auth"| node_auth
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_signup
node_app -->|"guards dashboard"| node_layout
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_email
node_app -->|"routes to"| node_contacts
node_app -->|"routes to"| node_analytics
node_app -->|"routes to"| node_settings
node_login -->|"calls login"| node_auth
node_signup -->|"calls signup"| node_auth
node_landing -->|"renders"| node_pricing
node_landing -->|"renders"| node_testimonials
node_landing -->|"uses"| node_button
node_login -->|"uses"| node_button
node_signup -->|"uses"| node_button
node_contacts -->|"uses"| node_button
node_settings -->|"uses"| node_button
node_settings -->|"reads user"| node_auth
node_layout -->|"reads auth"| node_auth
node_home -->|"reads auth"| node_auth
node_pricing -->|"uses"| node_button
node_pricing -->|"merges classes"| node_utils
node_button -->|"merges classes"| node_utils

click node_app "https://github.com/prateek043/recruiterconnect/blob/main/src/App.tsx"
click node_auth "https://github.com/prateek043/recruiterconnect/blob/main/src/contexts/AuthContext.tsx"
click node_landing "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/LandingPage.tsx"
click node_login "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/LoginPage.tsx"
click node_signup "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/SignupPage.tsx"
click node_pricing "https://github.com/prateek043/recruiterconnect/blob/main/src/components/pricing-card.tsx"
click node_testimonials "https://github.com/prateek043/recruiterconnect/blob/main/src/components/testimonial-card.tsx"
click node_layout "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/DashboardLayout.tsx"
click node_home "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/DashboardHome.tsx"
click node_email "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/EmailEditor.tsx"
click node_contacts "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Contacts.tsx"
click node_analytics "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Analytics.tsx"
click node_settings "https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Settings.tsx"
click node_button "https://github.com/prateek043/recruiterconnect/blob/main/src/components/ui/button.tsx"
click node_utils "https://github.com/prateek043/recruiterconnect/blob/main/src/lib/utils.ts"

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_app,node_auth toneBlue
class node_landing,node_login,node_signup,node_pricing,node_testimonials toneAmber
class node_layout,node_home,node_email,node_contacts,node_analytics,node_settings toneMint
class node_button,node_utils toneRose
class node_jobseeker toneIndigo
```

## Components

### App entry

- [Routes and guards](https://github.com/prateek043/recruiterconnect/blob/main/src/App.tsx): `src/App.tsx`
- [Auth state](https://github.com/prateek043/recruiterconnect/blob/main/src/contexts/AuthContext.tsx): `src/contexts/AuthContext.tsx`

### Public access

- [Product landing](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/LandingPage.tsx): `src/pages/LandingPage.tsx`
- [Login](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/LoginPage.tsx): `src/pages/LoginPage.tsx`
- [Signup](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/SignupPage.tsx): `src/pages/SignupPage.tsx`
- [Plan cards](https://github.com/prateek043/recruiterconnect/blob/main/src/components/pricing-card.tsx): `src/components/pricing-card.tsx`
- [Testimonials](https://github.com/prateek043/recruiterconnect/blob/main/src/components/testimonial-card.tsx): `src/components/testimonial-card.tsx`

### Outreach dashboard

- [Dashboard shell](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/DashboardLayout.tsx): `src/pages/dashboard/DashboardLayout.tsx`
- [Dashboard home](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/DashboardHome.tsx): `src/pages/dashboard/DashboardHome.tsx`
- [Email editor](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/EmailEditor.tsx): `src/pages/dashboard/EmailEditor.tsx`
- [Contact manager](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Contacts.tsx): `src/pages/dashboard/Contacts.tsx`
- [Outreach analytics](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Analytics.tsx): `src/pages/dashboard/Analytics.tsx`
- [Account settings](https://github.com/prateek043/recruiterconnect/blob/main/src/pages/dashboard/Settings.tsx): `src/pages/dashboard/Settings.tsx`

### Shared UI

- [Button component](https://github.com/prateek043/recruiterconnect/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [Class utilities](https://github.com/prateek043/recruiterconnect/blob/main/src/lib/utils.ts): `src/lib/utils.ts`

### Other components

- **Job seeker**

## Connections

- Job seeker → Routes and guards: uses app
- Routes and guards → Auth state: provides auth (evidence: `src/App.tsx`)
- Routes and guards → Product landing: routes to (evidence: `src/App.tsx`)
- Routes and guards → Login: routes to (evidence: `src/App.tsx`)
- Routes and guards → Signup: routes to (evidence: `src/App.tsx`)
- Routes and guards → Dashboard shell: guards dashboard (evidence: `src/App.tsx`)
- Routes and guards → Dashboard home: routes to (evidence: `src/App.tsx`)
- Routes and guards → Email editor: routes to (evidence: `src/App.tsx`)
- Routes and guards → Contact manager: routes to (evidence: `src/App.tsx`)
- Routes and guards → Outreach analytics: routes to (evidence: `src/App.tsx`)
- Routes and guards → Account settings: routes to (evidence: `src/App.tsx`)
- Login → Auth state: calls login (evidence: `src/pages/LoginPage.tsx`)
- Signup → Auth state: calls signup (evidence: `src/pages/SignupPage.tsx`)
- Product landing → Plan cards: renders (evidence: `src/pages/LandingPage.tsx`)
- Product landing → Testimonials: renders (evidence: `src/pages/LandingPage.tsx`)
- Product landing → Button component: uses (evidence: `src/pages/LandingPage.tsx`)
- Login → Button component: uses (evidence: `src/pages/LoginPage.tsx`)
- Signup → Button component: uses (evidence: `src/pages/SignupPage.tsx`)
- Contact manager → Button component: uses (evidence: `src/pages/dashboard/Contacts.tsx`)
- Account settings → Button component: uses (evidence: `src/pages/dashboard/Settings.tsx`)
- Account settings → Auth state: reads user (evidence: `src/pages/dashboard/Settings.tsx`)
- Dashboard shell → Auth state: reads auth (evidence: `src/pages/dashboard/DashboardLayout.tsx`)
- Dashboard home → Auth state: reads auth (evidence: `src/pages/dashboard/DashboardHome.tsx`)
- Plan cards → Button component: uses (evidence: `src/components/pricing-card.tsx`)
- Plan cards → Class utilities: merges classes (evidence: `src/components/pricing-card.tsx`)
- Button component → Class utilities: merges classes (evidence: `src/components/ui/button.tsx`)
