# mogsss/diskartech-frontend architecture

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

- Interactive diagram: https://gitdiagram.com/mogsss/diskartech-frontend
- Repository: https://github.com/mogsss/diskartech-frontend

## Overview

DiskarTech is a mobile job-matching UI for students and local employers. Its main journeys cover onboarding and account registration, student job discovery and applications, and employer job posting and applicant review; messaging, notifications, profiles, and verification are supporting capabilities. Although the README describes a frontend-only project, sampled screens include a student-registration REST request and Firestore chat writes. Other backend behavior is not inferred from the UI; unsampled screens are represented by their exact directories.

Main entry points: [`app/auth/student-register.tsx`](https://github.com/mogsss/diskartech-frontend/blob/main/app/auth/student-register.tsx) (Student registration), [`app/employer/(tabs)/dashboard.tsx`](https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/(tabs)/dashboard.tsx) (Employer dashboard), [`utils/firebase.ts`](https://github.com/mogsss/diskartech-frontend/blob/main/utils/firebase.ts) (Firestore client), [`app/index.tsx`](https://github.com/mogsss/diskartech-frontend/blob/main/app/index.tsx) (Splash & onboarding)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry &amp; accounts"]
  node_intro["Splash &amp; onboarding<br/>[index.tsx]"]
  node_auth["Account screens"]
  node_register["Student registration"]
  node_register_ui["Registration controls"]
end

subgraph group_student["Student job journey"]
  node_home["Student home<br/>[home.tsx]"]
  node_search["Job search<br/>[search.tsx]"]
  node_job_details["Job details<br/>[job-details.tsx]"]
  node_apply["Apply for job<br/>[apply-job.tsx]"]
  node_applications["Applications tracking<br/>[applications.tsx]"]
  node_student_profile["Student profile<br/>[profile.tsx]"]
  node_student_extras["Schedule &amp; earnings"]
end

subgraph group_employer["Employer hiring"]
  node_employer_dash["Employer dashboard<br/>[dashboard.tsx]"]
  node_job_post["Job posting<br/>[job-posting.tsx]"]
  node_applicants["Applicant review"]
  node_applicant_details["Applicant details"]
  node_employer_profile["Employer profile &amp; verification"]
end

subgraph group_shared["Shared app features"]
  node_messaging["Messages &amp; chat<br/>[chat.tsx]"]
  node_notifications["Notifications<br/>[notifications.tsx]"]
  node_application_modal["Application details"]
end

subgraph group_infra["Client services"]
  node_api_client["REST client<br/>[axios.ts]"]
  node_firestore["Firestore client<br/>[firebase.ts]"]
end

node_user(("Student or employer"))
node_rest_service{{"REST API"}}
node_firestore_store[("Firestore")]

node_user -->|"opens app"| node_intro
node_intro -->|"continues to"| node_auth
node_user -->|"uses"| node_home
node_user -->|"uses"| node_employer_dash
node_auth -->|"registers as student"| node_register
node_register -->|"uses controls"| node_register_ui
node_register -->|"submits registration"| node_api_client
node_api_client -->|"sends requests"| node_rest_service
node_home -->|"finds jobs"| node_search
node_search -->|"opens listing"| node_job_details
node_job_details -->|"starts application"| node_apply
node_apply -->|"tracks status"| node_applications
node_user -->|"maintains profile"| node_student_profile
node_user -->|"views schedule"| node_student_extras
node_employer_dash -->|"posts job"| node_job_post
node_employer_dash -->|"reviews applicants"| node_applicants
node_applicants -->|"opens applicant"| node_applicant_details
node_user -->|"manages verification"| node_employer_profile
node_user -->|"messages"| node_messaging
node_user -->|"views updates"| node_notifications
node_applications -->|"opens details"| node_application_modal
node_application_modal -->|"writes chat data"| node_firestore
node_applicant_details -->|"writes interview chat"| node_firestore
node_firestore -->|"connects to"| node_firestore_store

click node_intro "https://github.com/mogsss/diskartech-frontend/blob/main/app/index.tsx"
click node_auth "https://github.com/mogsss/diskartech-frontend/tree/main/app/auth"
click node_register "https://github.com/mogsss/diskartech-frontend/blob/main/app/auth/student-register.tsx"
click node_register_ui "https://github.com/mogsss/diskartech-frontend/tree/main/components"
click node_home "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/home.tsx"
click node_search "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/search.tsx"
click node_job_details "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/job-details.tsx"
click node_apply "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/apply-job.tsx"
click node_applications "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/applications.tsx"
click node_student_profile "https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/profile.tsx"
click node_student_extras "https://github.com/mogsss/diskartech-frontend/tree/main/app/students"
click node_employer_dash "https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/(tabs)/dashboard.tsx"
click node_job_post "https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/job-posting.tsx"
click node_applicants "https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/applicants-list.tsx"
click node_applicant_details "https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/applicant-details.tsx"
click node_employer_profile "https://github.com/mogsss/diskartech-frontend/tree/main/app/employer"
click node_messaging "https://github.com/mogsss/diskartech-frontend/blob/main/app/chat.tsx"
click node_notifications "https://github.com/mogsss/diskartech-frontend/blob/main/app/notifications.tsx"
click node_application_modal "https://github.com/mogsss/diskartech-frontend/blob/main/components/modals/student/ApplicationDetailsModal.tsx"
click node_api_client "https://github.com/mogsss/diskartech-frontend/blob/main/api/axios.ts"
click node_firestore "https://github.com/mogsss/diskartech-frontend/blob/main/utils/firebase.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_intro,node_auth,node_register,node_register_ui toneBlue
class node_home,node_search,node_job_details,node_apply,node_applications,node_student_profile,node_student_extras,node_firestore_store toneAmber
class node_employer_dash,node_job_post,node_applicants,node_applicant_details,node_employer_profile,node_rest_service toneMint
class node_messaging,node_notifications,node_application_modal toneRose
class node_api_client,node_firestore,node_user toneIndigo
```

## Components

### Entry & accounts

- [Splash & onboarding](https://github.com/mogsss/diskartech-frontend/blob/main/app/index.tsx): `app/index.tsx`
- [Account screens](https://github.com/mogsss/diskartech-frontend/tree/main/app/auth): `app/auth`
- [Student registration](https://github.com/mogsss/diskartech-frontend/blob/main/app/auth/student-register.tsx): `app/auth/student-register.tsx`
- [Registration controls](https://github.com/mogsss/diskartech-frontend/tree/main/components): `components`

### Student job journey

- [Student home](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/home.tsx): `app/students/(tabs)/home.tsx`
- [Job search](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/search.tsx): `app/students/(tabs)/search.tsx`
- [Job details](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/job-details.tsx): `app/students/job-details.tsx`
- [Apply for job](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/apply-job.tsx): `app/students/apply-job.tsx`
- [Applications tracking](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/applications.tsx): `app/students/(tabs)/applications.tsx`
- [Student profile](https://github.com/mogsss/diskartech-frontend/blob/main/app/students/(tabs)/profile.tsx): `app/students/(tabs)/profile.tsx`
- [Schedule & earnings](https://github.com/mogsss/diskartech-frontend/tree/main/app/students): `app/students`

### Employer hiring

- [Employer dashboard](https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/(tabs)/dashboard.tsx): `app/employer/(tabs)/dashboard.tsx`
- [Job posting](https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/job-posting.tsx): `app/employer/job-posting.tsx`
- [Applicant review](https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/applicants-list.tsx): `app/employer/applicants-list.tsx`
- [Applicant details](https://github.com/mogsss/diskartech-frontend/blob/main/app/employer/applicant-details.tsx): `app/employer/applicant-details.tsx`
- [Employer profile & verification](https://github.com/mogsss/diskartech-frontend/tree/main/app/employer): `app/employer`

### Shared app features

- [Messages & chat](https://github.com/mogsss/diskartech-frontend/blob/main/app/chat.tsx): `app/chat.tsx`
- [Notifications](https://github.com/mogsss/diskartech-frontend/blob/main/app/notifications.tsx): `app/notifications.tsx`
- [Application details](https://github.com/mogsss/diskartech-frontend/blob/main/components/modals/student/ApplicationDetailsModal.tsx): `components/modals/student/ApplicationDetailsModal.tsx`

### Client services

- [REST client](https://github.com/mogsss/diskartech-frontend/blob/main/api/axios.ts): `api/axios.ts`
- [Firestore client](https://github.com/mogsss/diskartech-frontend/blob/main/utils/firebase.ts): `utils/firebase.ts`

### Other components

- **Student or employer**
- **REST API**
- **Firestore**

## Connections

- Student or employer → Splash & onboarding: opens app
- Splash & onboarding → Account screens: continues to
- Student or employer → Student home: uses
- Student or employer → Employer dashboard: uses
- Account screens → Student registration: registers as student (evidence: `app/auth/student-register.tsx`)
- Student registration → Registration controls: uses controls (evidence: `app/auth/student-register.tsx`)
- Student registration → REST client: submits registration (evidence: `app/auth/student-register.tsx`)
- REST client → REST API: sends requests (evidence: `api/axios.ts`)
- Student home → Job search: finds jobs
- Job search → Job details: opens listing
- Job details → Apply for job: starts application
- Apply for job → Applications tracking: tracks status
- Student or employer → Student profile: maintains profile
- Student or employer → Schedule & earnings: views schedule
- Employer dashboard → Job posting: posts job
- Employer dashboard → Applicant review: reviews applicants
- Applicant review → Applicant details: opens applicant
- Student or employer → Employer profile & verification: manages verification
- Student or employer → Messages & chat: messages
- Student or employer → Notifications: views updates
- Applications tracking → Application details: opens details (evidence: `app/students/(tabs)/applications.tsx`)
- Application details → Firestore client: writes chat data (evidence: `components/modals/student/ApplicationDetailsModal.tsx`)
- Applicant details → Firestore client: writes interview chat (evidence: `app/employer/applicant-details.tsx`)
- Firestore client → Firestore: connects to (evidence: `utils/firebase.ts`)
