# indrajeet87sah-glitch/indrajeet-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/indrajeet87sah-glitch/indrajeet-portfolio
- Repository: https://github.com/indrajeet87sah-glitch/indrajeet-portfolio

## Overview

This repository is a personal developer portfolio with an embedded bilingual AI assistant. A visitor browses profile, skills, work history, projects, education, and contact content; the assistant also supports text chat and voice input/output through a Node/Express backend and Gemini. The graph groups the portfolio UI and its content separately from the assistant and backend. Edges follow shown imports, route registration, or documented behavior; some assistant request details are documented in the README rather than visible in the sampled code.

Main entry points: [`src/App.jsx`](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/App.jsx) (Portfolio App), [`server/index.js`](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/index.js) (Express API), [`src/components/Contact.jsx`](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Contact.jsx) (Contact), [`src/components/AIChatBot.jsx`](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/AIChatBot.jsx) (AI Chatbot)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio UI"]
  node_app["Portfolio App<br/>[App.jsx]"]
  node_header["Header<br/>[Header.jsx]"]
  node_hero["Hero<br/>[Hero.jsx]"]
  node_stats["Stats<br/>[StatsCounter.jsx]"]
  node_about["About<br/>[About.jsx]"]
  node_skills["Skills<br/>[Skills.jsx]"]
  node_experience["Experience<br/>[Experience.jsx]"]
  node_projects["Projects<br/>[Projects.jsx]"]
  node_education["Education<br/>[Education.jsx]"]
  node_contact["Contact<br/>[Contact.jsx]"]
  node_contactform["Contact Form<br/>[ContactForm.jsx]"]
  node_contactinfo["Contact Info<br/>[ContactInfo.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
  node_cursor["Custom Cursor<br/>[CustomCursor.jsx]"]
  node_scroll["Scroll Progress<br/>[ScrollProgress.jsx]"]
  node_backtotop["Back to Top<br/>[BackToTop.jsx]"]
end

subgraph group_content["Portfolio Content"]
  node_aboutdata["About Highlights<br/>[aboutHighlights.js]"]
  node_skillsdata["Skills Data<br/>[skillsData.js]"]
  node_experiencedata["Experience Data<br/>[experienceData.js]"]
  node_projectsdata["Projects Data<br/>[projectsData.js]"]
  node_educationdata["Education Data<br/>[educationData.js]"]
  node_statsdata["Stats Data<br/>[statsData.js]"]
end

subgraph group_assistant["AI Assistant"]
  node_chatbot["AI Chatbot<br/>[AIChatBot.jsx]"]
end

subgraph group_backend["AI Backend"]
  node_api["Express API<br/>[index.js]"]
  node_knowledge["Portfolio Knowledge"]
  node_transcribe["Transcription Route<br/>[transcribeRoute.js]"]
end

node_visitor(("Visitor"))
node_gemini{{"Google Gemini"}}

node_visitor -->|"browses"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_stats
node_app -->|"renders"| node_about
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_education
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_cursor
node_app -->|"renders"| node_scroll
node_app -->|"renders"| node_backtotop
node_app -->|"renders"| node_chatbot
node_contact -->|"renders"| node_contactform
node_contact -->|"renders"| node_contactinfo
node_about -->|"reads"| node_aboutdata
node_skills -->|"reads"| node_skillsdata
node_experience -->|"reads"| node_experiencedata
node_projects -->|"reads"| node_projectsdata
node_education -->|"reads"| node_educationdata
node_stats -->|"reads"| node_statsdata
node_chatbot -->|"requests chat"| node_api
node_chatbot -->|"sends audio"| node_api
node_api -->|"uses context"| node_knowledge
node_api -->|"registers route"| node_transcribe
node_api -->|"generates chat and speech"| node_gemini
node_transcribe -->|"transcribes audio"| node_gemini

click node_app "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/App.jsx"
click node_header "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Header.jsx"
click node_hero "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Hero.jsx"
click node_stats "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/StatsCounter.jsx"
click node_about "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/About.jsx"
click node_skills "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Skills.jsx"
click node_experience "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Experience.jsx"
click node_projects "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Projects.jsx"
click node_education "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Education.jsx"
click node_contact "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Contact.jsx"
click node_contactform "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ContactForm.jsx"
click node_contactinfo "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ContactInfo.jsx"
click node_footer "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Footer.jsx"
click node_cursor "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/CustomCursor.jsx"
click node_scroll "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ScrollProgress.jsx"
click node_backtotop "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/BackToTop.jsx"
click node_aboutdata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/aboutHighlights.js"
click node_skillsdata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/skillsData.js"
click node_experiencedata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/experienceData.js"
click node_projectsdata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/projectsData.js"
click node_educationdata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/educationData.js"
click node_statsdata "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/statsData.js"
click node_chatbot "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/AIChatBot.jsx"
click node_api "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/index.js"
click node_knowledge "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/portfolioKnowledge.js"
click node_transcribe "https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/transcribeRoute.js"

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_header,node_hero,node_stats,node_about,node_skills,node_experience,node_projects,node_education,node_contact,node_contactform,node_contactinfo,node_footer,node_cursor,node_scroll,node_backtotop toneBlue
class node_aboutdata,node_skillsdata,node_experiencedata,node_projectsdata,node_educationdata,node_statsdata toneAmber
class node_chatbot toneMint
class node_api,node_knowledge,node_transcribe toneRose
class node_visitor,node_gemini toneIndigo
```

## Components

### Portfolio UI

- [Portfolio App](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Header](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Header.jsx): `src/components/Header.jsx`
- [Hero](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Stats](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/StatsCounter.jsx): `src/components/StatsCounter.jsx`
- [About](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/About.jsx): `src/components/About.jsx`
- [Skills](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Skills.jsx): `src/components/Skills.jsx`
- [Experience](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Experience.jsx): `src/components/Experience.jsx`
- [Projects](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Projects.jsx): `src/components/Projects.jsx`
- [Education](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Education.jsx): `src/components/Education.jsx`
- [Contact](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Contact Form](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ContactForm.jsx): `src/components/ContactForm.jsx`
- [Contact Info](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ContactInfo.jsx): `src/components/ContactInfo.jsx`
- [Footer](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Custom Cursor](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/CustomCursor.jsx): `src/components/CustomCursor.jsx`
- [Scroll Progress](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/ScrollProgress.jsx): `src/components/ScrollProgress.jsx`
- [Back to Top](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/BackToTop.jsx): `src/components/BackToTop.jsx`

### Portfolio Content

- [About Highlights](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/aboutHighlights.js): `src/data/aboutHighlights.js`
- [Skills Data](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/skillsData.js): `src/data/skillsData.js`
- [Experience Data](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/experienceData.js): `src/data/experienceData.js`
- [Projects Data](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/projectsData.js): `src/data/projectsData.js`
- [Education Data](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/educationData.js): `src/data/educationData.js`
- [Stats Data](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/data/statsData.js): `src/data/statsData.js`

### AI Assistant

- [AI Chatbot](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/src/components/AIChatBot.jsx): `src/components/AIChatBot.jsx`

### AI Backend

- [Express API](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/index.js): `server/index.js`
- [Portfolio Knowledge](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/portfolioKnowledge.js): `server/portfolioKnowledge.js`
- [Transcription Route](https://github.com/indrajeet87sah-glitch/indrajeet-portfolio/blob/main/server/transcribeRoute.js): `server/transcribeRoute.js`

### Other components

- **Visitor**
- **Google Gemini**

## Connections

- Visitor → Portfolio App: browses
- Portfolio App → Header: renders (evidence: `src/App.jsx`)
- Portfolio App → Hero: renders (evidence: `src/App.jsx`)
- Portfolio App → Stats: renders (evidence: `src/App.jsx`)
- Portfolio App → About: renders (evidence: `src/App.jsx`)
- Portfolio App → Skills: renders (evidence: `src/App.jsx`)
- Portfolio App → Experience: renders (evidence: `src/App.jsx`)
- Portfolio App → Projects: renders (evidence: `src/App.jsx`)
- Portfolio App → Education: renders (evidence: `src/App.jsx`)
- Portfolio App → Contact: renders (evidence: `src/App.jsx`)
- Portfolio App → Footer: renders (evidence: `src/App.jsx`)
- Portfolio App → Custom Cursor: renders (evidence: `src/App.jsx`)
- Portfolio App → Scroll Progress: renders (evidence: `src/App.jsx`)
- Portfolio App → Back to Top: renders (evidence: `src/App.jsx`)
- Portfolio App → AI Chatbot: renders (evidence: `src/App.jsx`)
- Contact → Contact Form: renders (evidence: `src/components/Contact.jsx`)
- Contact → Contact Info: renders (evidence: `src/components/Contact.jsx`)
- About → About Highlights: reads (evidence: `src/components/About.jsx`)
- Skills → Skills Data: reads (evidence: `src/components/Skills.jsx`)
- Experience → Experience Data: reads (evidence: `src/components/Experience.jsx`)
- Projects → Projects Data: reads (evidence: `src/components/Projects.jsx`)
- Education → Education Data: reads (evidence: `src/components/Education.jsx`)
- Stats → Stats Data: reads (evidence: `src/components/StatsCounter.jsx`)
- AI Chatbot → Express API: requests chat (evidence: `README.md`)
- AI Chatbot → Express API: sends audio (evidence: `src/components/AIChatBot.jsx`)
- Express API → Portfolio Knowledge: uses context (evidence: `server/index.js`)
- Express API → Transcription Route: registers route (evidence: `server/index.js`)
- Express API → Google Gemini: generates chat and speech (evidence: `server/index.js`)
- Transcription Route → Google Gemini: transcribes audio (evidence: `server/transcribeRoute.js`)
