# akash010203/new-aria- architecture

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

- Interactive diagram: https://gitdiagram.com/akash010203/new-aria-
- Repository: https://github.com/akash010203/new-aria-

## Overview

Aria is a student-facing college app centered on attendance tracking, AI-assisted learning, and community features, with a marketing and early-access landing page. Students enter through the landing page or navigate to attendance, tutor, and community pages; feature requests use Next.js API routes and a FastAPI backend, with chat optionally backed by Ollama or Groq. The README describes the broader capabilities; several page and backend implementations were not excerpted, so their internal interactions are not asserted.

Main entry points: [`app/page.tsx`](https://github.com/akash010203/new-aria-/blob/main/app/page.tsx) (Landing page), [`backend/main.py`](https://github.com/akash010203/new-aria-/blob/main/backend/main.py) (FastAPI backend), [`app/community/page.tsx`](https://github.com/akash010203/new-aria-/blob/main/app/community/page.tsx) (Community hub), [`app/api/chat/route.ts`](https://github.com/akash010203/new-aria-/blob/main/app/api/chat/route.ts) (Chat API route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Student Experience"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_loading["Intro screen<br/>[LoadingScreen.tsx]"]
  node_navigation["Site navigation<br/>[Navbar.tsx]"]
  node_hero["Animated hero"]
  node_features["Feature overview<br/>[FeaturesGrid.tsx]"]
  node_how_it_works["Usage walkthrough<br/>[HowItWorks.tsx]"]
  node_early_access_form["Early access form<br/>[FinalCTA.tsx]"]
  node_scroll["Smooth scrolling"]
  node_footer["Site footer<br/>[Footer.tsx]"]
  node_dashboard["Student dashboard<br/>[page.tsx]"]
end

subgraph group_attendance["Attendance Management"]
  node_attendance_demo["Attendance demo<br/>[AttendanceDemo.tsx]"]
  node_attendance_page["Attendance tracker<br/>[page.tsx]"]
end

subgraph group_learning["Learning and Community"]
  node_floating_ai["Floating AI chat<br/>[FloatingAI.tsx]"]
  node_tutor["AI tutor<br/>[page.tsx]"]
  node_community["Community hub<br/>[page.tsx]"]
  node_dm_panel["Direct messages<br/>[DMPanel.tsx]"]
end

subgraph group_services["API and AI Services"]
  node_api_chat["Chat API route<br/>[route.ts]"]
  node_api_attendance["Attendance API route<br/>[route.ts]"]
  node_api_alerts["Alerts API route<br/>[route.ts]"]
  node_api_early_access["Waitlist API route<br/>[route.ts]"]
  node_api_posts["Posts API route<br/>[route.ts]"]
  node_api_uploads["Uploads API route<br/>[route.ts]"]
  node_api_health["Health API route<br/>[route.ts]"]
  node_backend["FastAPI backend<br/>[main.py]"]
  node_ai_provider{{"Ollama or Groq"}}
  node_whatsapp{{"WhatsApp alerts"}}
end

node_student(("College student"))

node_student -->|"visits"| node_landing
node_landing -->|"shows"| node_loading
node_landing -->|"wraps content"| node_scroll
node_landing -->|"renders"| node_navigation
node_landing -->|"renders"| node_hero
node_landing -->|"renders"| node_features
node_landing -->|"renders"| node_attendance_demo
node_landing -->|"renders"| node_how_it_works
node_landing -->|"renders"| node_early_access_form
node_landing -->|"renders"| node_floating_ai
node_landing -->|"renders"| node_footer
node_student -->|"opens"| node_dashboard
node_student -->|"opens"| node_attendance_page
node_student -->|"opens"| node_tutor
node_student -->|"opens"| node_community
node_student -->|"submits contact"| node_early_access_form
node_early_access_form -->|"posts signup"| node_api_early_access
node_attendance_demo -->|"posts question"| node_api_chat
node_floating_ai -->|"posts message"| node_api_chat
node_community -->|"renders"| node_dm_panel
node_dm_panel -->|"posts reply prompt"| node_api_chat
node_attendance_page -.->|"uses attendance data"| node_api_attendance
node_community -.->|"uses post feed"| node_api_posts
node_community -.->|"uses uploads"| node_api_uploads
node_api_chat -.->|"forwards chat"| node_backend
node_api_attendance -.->|"forwards attendance"| node_backend
node_api_alerts -.->|"forwards alert setup"| node_backend
node_api_early_access -.->|"forwards signup"| node_backend
node_api_posts -.->|"forwards post requests"| node_backend
node_api_uploads -.->|"forwards upload requests"| node_backend
node_api_health -.->|"checks service"| node_backend
node_backend -.->|"requests AI replies"| node_ai_provider
node_backend -.->|"configures alerts"| node_whatsapp

click node_landing "https://github.com/akash010203/new-aria-/blob/main/app/page.tsx"
click node_loading "https://github.com/akash010203/new-aria-/blob/main/components/LoadingScreen.tsx"
click node_navigation "https://github.com/akash010203/new-aria-/blob/main/components/Navbar.tsx"
click node_hero "https://github.com/akash010203/new-aria-/blob/main/components/FrameHeroSection.tsx"
click node_features "https://github.com/akash010203/new-aria-/blob/main/components/FeaturesGrid.tsx"
click node_attendance_demo "https://github.com/akash010203/new-aria-/blob/main/components/AttendanceDemo.tsx"
click node_how_it_works "https://github.com/akash010203/new-aria-/blob/main/components/HowItWorks.tsx"
click node_early_access_form "https://github.com/akash010203/new-aria-/blob/main/components/FinalCTA.tsx"
click node_floating_ai "https://github.com/akash010203/new-aria-/blob/main/components/FloatingAI.tsx"
click node_scroll "https://github.com/akash010203/new-aria-/blob/main/components/SmoothScrollProvider.tsx"
click node_footer "https://github.com/akash010203/new-aria-/blob/main/components/Footer.tsx"
click node_dashboard "https://github.com/akash010203/new-aria-/blob/main/app/dashboard/page.tsx"
click node_attendance_page "https://github.com/akash010203/new-aria-/blob/main/app/attendance/page.tsx"
click node_tutor "https://github.com/akash010203/new-aria-/blob/main/app/tutor/page.tsx"
click node_community "https://github.com/akash010203/new-aria-/blob/main/app/community/page.tsx"
click node_dm_panel "https://github.com/akash010203/new-aria-/blob/main/components/DMPanel.tsx"
click node_api_chat "https://github.com/akash010203/new-aria-/blob/main/app/api/chat/route.ts"
click node_api_attendance "https://github.com/akash010203/new-aria-/blob/main/app/api/attendance/route.ts"
click node_api_alerts "https://github.com/akash010203/new-aria-/blob/main/app/api/alerts/route.ts"
click node_api_early_access "https://github.com/akash010203/new-aria-/blob/main/app/api/early-access/route.ts"
click node_api_posts "https://github.com/akash010203/new-aria-/blob/main/app/api/posts/route.ts"
click node_api_uploads "https://github.com/akash010203/new-aria-/blob/main/app/api/uploads/route.ts"
click node_api_health "https://github.com/akash010203/new-aria-/blob/main/app/api/health/route.ts"
click node_backend "https://github.com/akash010203/new-aria-/blob/main/backend/main.py"

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_landing,node_loading,node_navigation,node_hero,node_features,node_how_it_works,node_early_access_form,node_scroll,node_footer,node_dashboard toneBlue
class node_attendance_demo,node_attendance_page toneAmber
class node_floating_ai,node_tutor,node_community,node_dm_panel toneMint
class node_api_chat,node_api_attendance,node_api_alerts,node_api_early_access,node_api_posts,node_api_uploads,node_api_health,node_backend,node_ai_provider,node_whatsapp toneRose
class node_student toneIndigo
```

## Components

### Student Experience

- [Landing page](https://github.com/akash010203/new-aria-/blob/main/app/page.tsx): `app/page.tsx`
- [Intro screen](https://github.com/akash010203/new-aria-/blob/main/components/LoadingScreen.tsx): `components/LoadingScreen.tsx`
- [Site navigation](https://github.com/akash010203/new-aria-/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Animated hero](https://github.com/akash010203/new-aria-/blob/main/components/FrameHeroSection.tsx): `components/FrameHeroSection.tsx`
- [Feature overview](https://github.com/akash010203/new-aria-/blob/main/components/FeaturesGrid.tsx): `components/FeaturesGrid.tsx`
- [Usage walkthrough](https://github.com/akash010203/new-aria-/blob/main/components/HowItWorks.tsx): `components/HowItWorks.tsx`
- [Early access form](https://github.com/akash010203/new-aria-/blob/main/components/FinalCTA.tsx): `components/FinalCTA.tsx`
- [Smooth scrolling](https://github.com/akash010203/new-aria-/blob/main/components/SmoothScrollProvider.tsx): `components/SmoothScrollProvider.tsx`
- [Site footer](https://github.com/akash010203/new-aria-/blob/main/components/Footer.tsx): `components/Footer.tsx`
- [Student dashboard](https://github.com/akash010203/new-aria-/blob/main/app/dashboard/page.tsx): `app/dashboard/page.tsx`

### Attendance Management

- [Attendance demo](https://github.com/akash010203/new-aria-/blob/main/components/AttendanceDemo.tsx): `components/AttendanceDemo.tsx`
- [Attendance tracker](https://github.com/akash010203/new-aria-/blob/main/app/attendance/page.tsx): `app/attendance/page.tsx`

### Learning and Community

- [Floating AI chat](https://github.com/akash010203/new-aria-/blob/main/components/FloatingAI.tsx): `components/FloatingAI.tsx`
- [AI tutor](https://github.com/akash010203/new-aria-/blob/main/app/tutor/page.tsx): `app/tutor/page.tsx`
- [Community hub](https://github.com/akash010203/new-aria-/blob/main/app/community/page.tsx): `app/community/page.tsx`
- [Direct messages](https://github.com/akash010203/new-aria-/blob/main/components/DMPanel.tsx): `components/DMPanel.tsx`

### API and AI Services

- [Chat API route](https://github.com/akash010203/new-aria-/blob/main/app/api/chat/route.ts): `app/api/chat/route.ts`
- [Attendance API route](https://github.com/akash010203/new-aria-/blob/main/app/api/attendance/route.ts): `app/api/attendance/route.ts`
- [Alerts API route](https://github.com/akash010203/new-aria-/blob/main/app/api/alerts/route.ts): `app/api/alerts/route.ts`
- [Waitlist API route](https://github.com/akash010203/new-aria-/blob/main/app/api/early-access/route.ts): `app/api/early-access/route.ts`
- [Posts API route](https://github.com/akash010203/new-aria-/blob/main/app/api/posts/route.ts): `app/api/posts/route.ts`
- [Uploads API route](https://github.com/akash010203/new-aria-/blob/main/app/api/uploads/route.ts): `app/api/uploads/route.ts`
- [Health API route](https://github.com/akash010203/new-aria-/blob/main/app/api/health/route.ts): `app/api/health/route.ts`
- [FastAPI backend](https://github.com/akash010203/new-aria-/blob/main/backend/main.py): `backend/main.py`
- **Ollama or Groq**
- **WhatsApp alerts**

### Other components

- **College student**

## Connections

- College student → Landing page: visits (evidence: `README.md`)
- Landing page → Intro screen: shows (evidence: `app/page.tsx`)
- Landing page → Smooth scrolling: wraps content (evidence: `app/page.tsx`)
- Landing page → Site navigation: renders (evidence: `app/page.tsx`)
- Landing page → Animated hero: renders (evidence: `app/page.tsx`)
- Landing page → Feature overview: renders (evidence: `app/page.tsx`)
- Landing page → Attendance demo: renders (evidence: `app/page.tsx`)
- Landing page → Usage walkthrough: renders (evidence: `app/page.tsx`)
- Landing page → Early access form: renders (evidence: `app/page.tsx`)
- Landing page → Floating AI chat: renders (evidence: `app/page.tsx`)
- Landing page → Site footer: renders (evidence: `app/page.tsx`)
- College student → Student dashboard: opens (evidence: `README.md`)
- College student → Attendance tracker: opens (evidence: `README.md`)
- College student → AI tutor: opens (evidence: `README.md`)
- College student → Community hub: opens (evidence: `README.md`)
- College student → Early access form: submits contact (evidence: `components/FinalCTA.tsx`)
- Early access form → Waitlist API route: posts signup (evidence: `components/FinalCTA.tsx`)
- Attendance demo → Chat API route: posts question (evidence: `components/AttendanceDemo.tsx`)
- Floating AI chat → Chat API route: posts message (evidence: `components/FloatingAI.tsx`)
- Community hub → Direct messages: renders (evidence: `app/community/page.tsx`)
- Direct messages → Chat API route: posts reply prompt (evidence: `components/DMPanel.tsx`)
- Attendance tracker → Attendance API route: uses attendance data
- Community hub → Posts API route: uses post feed
- Community hub → Uploads API route: uses uploads
- Chat API route → FastAPI backend: forwards chat
- Attendance API route → FastAPI backend: forwards attendance
- Alerts API route → FastAPI backend: forwards alert setup
- Waitlist API route → FastAPI backend: forwards signup
- Posts API route → FastAPI backend: forwards post requests
- Uploads API route → FastAPI backend: forwards upload requests
- Health API route → FastAPI backend: checks service
- FastAPI backend → Ollama or Groq: requests AI replies
- FastAPI backend → WhatsApp alerts: configures alerts
