# anjali-ob/neet-preparation-with-ai architecture

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

- Interactive diagram: https://gitdiagram.com/anjali-ob/neet-preparation-with-ai
- Repository: https://github.com/anjali-ob/neet-preparation-with-ai

## Overview

NEET Prep AI is a browser-based NEET/MHT-CET study platform. The main learner workflow is to explore a syllabus chapter, read concept notes, and take a quiz; the platform also advertises diagrams, flashcards, games, mock tests, revision scheduling, and analytics. The central UI and learning logic live in one large component, while Next.js routes provide chat and quiz-feedback endpoints. The excerpts do not show how the UI invokes those endpoints, so those connections are omitted. Several feature nodes share the monolithic implementation path.

Main entry points: [`components/PlatformV3.jsx`](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx) (Dashboard), [`app/api/chat/route.ts`](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/chat/route.ts) (Chat Endpoint), [`app/api/results/route.ts`](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/results/route.ts) (Results Endpoint), [`app/(auth)/login/page.tsx`](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/(auth)/login/page.tsx) (Sign-in / Sign-up)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning Platform"]
  node_platform["Study Platform<br/>[PlatformV3.jsx]"]
  node_dashboard["Dashboard<br/>[PlatformV3.jsx]"]
  node_syllabus["Syllabus Explorer<br/>[PlatformV3.jsx]"]
  node_concepts["Concept Notes<br/>[PlatformV3.jsx]"]
  node_quiz["Quiz Engine<br/>[PlatformV3.jsx]"]
  node_diagrams["Interactive Diagrams<br/>[PlatformV3.jsx]"]
  node_flashcards["Flashcards<br/>[PlatformV3.jsx]"]
  node_games["Learning Games<br/>[PlatformV3.jsx]"]
  node_mocktests["Mock Tests &amp; PYQs<br/>[PlatformV3.jsx]"]
  node_revision["Revision Scheduler<br/>[PlatformV3.jsx]"]
  node_analytics["Analytics<br/>[PlatformV3.jsx]"]
end

subgraph group_assistance["AI Assistance"]
  node_chatroute["Chat Endpoint<br/>[route.ts]"]
  node_resultsroute["Results Endpoint<br/>[route.ts]"]
end

subgraph group_access["Access"]
  node_login["Sign-in / Sign-up<br/>[page.tsx]"]
end

node_learner(("Learner"))
node_groq{{"Groq API"}}
node_supabase{{"Supabase Auth"}}

node_learner -->|"uses"| node_platform
node_platform -->|"offers"| node_dashboard
node_dashboard -->|"opens"| node_syllabus
node_syllabus -->|"opens chapter notes"| node_concepts
node_concepts -->|"starts quiz"| node_quiz
node_dashboard -->|"offers access"| node_diagrams
node_dashboard -->|"offers access"| node_flashcards
node_dashboard -->|"offers access"| node_games
node_dashboard -->|"offers access"| node_mocktests
node_dashboard -->|"offers access"| node_revision
node_dashboard -->|"offers access"| node_analytics
node_chatroute -->|"requests completions"| node_groq
node_resultsroute -->|"requests feedback"| node_groq
node_login -.->|"authenticates with"| node_supabase

click node_platform "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_dashboard "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_syllabus "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_concepts "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_quiz "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_diagrams "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_flashcards "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_games "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_mocktests "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_revision "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_analytics "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx"
click node_chatroute "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/chat/route.ts"
click node_resultsroute "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/results/route.ts"
click node_login "https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/(auth)/login/page.tsx"

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_platform,node_dashboard,node_syllabus,node_concepts,node_quiz,node_diagrams,node_flashcards,node_games,node_mocktests,node_revision,node_analytics toneBlue
class node_chatroute,node_resultsroute toneAmber
class node_login,node_groq toneMint
class node_learner,node_supabase toneIndigo
```

## Components

### Learning Platform

- [Study Platform](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Dashboard](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Syllabus Explorer](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Concept Notes](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Quiz Engine](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Interactive Diagrams](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Flashcards](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Learning Games](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Mock Tests & PYQs](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Revision Scheduler](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`
- [Analytics](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/components/PlatformV3.jsx): `components/PlatformV3.jsx`

### AI Assistance

- [Chat Endpoint](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/chat/route.ts): `app/api/chat/route.ts`
- [Results Endpoint](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/api/results/route.ts): `app/api/results/route.ts`

### Access

- [Sign-in / Sign-up](https://github.com/anjali-ob/neet-preparation-with-ai/blob/main/app/(auth)/login/page.tsx): `app/(auth)/login/page.tsx`

### Other components

- **Learner**
- **Groq API**
- **Supabase Auth**

## Connections

- Learner → Study Platform: uses (evidence: `Readme.MD`)
- Study Platform → Dashboard: offers (evidence: `Readme.MD`)
- Dashboard → Syllabus Explorer: opens (evidence: `Readme.MD`)
- Syllabus Explorer → Concept Notes: opens chapter notes (evidence: `Readme.MD`)
- Concept Notes → Quiz Engine: starts quiz (evidence: `Readme.MD`)
- Dashboard → Interactive Diagrams: offers access (evidence: `Readme.MD`)
- Dashboard → Flashcards: offers access (evidence: `Readme.MD`)
- Dashboard → Learning Games: offers access (evidence: `Readme.MD`)
- Dashboard → Mock Tests & PYQs: offers access (evidence: `Readme.MD`)
- Dashboard → Revision Scheduler: offers access (evidence: `Readme.MD`)
- Dashboard → Analytics: offers access (evidence: `Readme.MD`)
- Chat Endpoint → Groq API: requests completions (evidence: `app/api/chat/route.ts`)
- Results Endpoint → Groq API: requests feedback (evidence: `app/api/results/route.ts`)
- Sign-in / Sign-up → Supabase Auth: authenticates with
