# jyothiajjarapu/jyothi architecture

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

- Interactive diagram: https://gitdiagram.com/jyothiajjarapu/jyothi
- Repository: https://github.com/jyothiajjarapu/jyothi

## Overview

1. This repository is a client-side React single-page portfolio site built with Vite. There is no backend, API layer, database, or server-side rendering path in the repo; the whole app runs in the browser after Vite bundles it.

2. The application entry point is `src/main.jsx`, which mounts the React tree into `index.html`. `src/App.jsx` is the composition root that lays out the portfolio sections and determines the overall page structure.

3. The UI is organized as a set of feature-oriented sections rather than routes: `Header`, `About`, `Skills`, `Experience`, `Education`, `Projects`, `Contact`, `Hobbies`, `Footer`, plus supporting pieces like `MidPage`, `Timeline`, and `ProjectsCard`. This suggests a one-page scrolling portfolio with modular section components.

4. `src/contexts/ThemeContext.jsx` is the main shared state boundary in the app. It likely provides theme mode and theme toggling across the component tree, so appearance state is centralized instead of duplicated in individual sections.

5. Styling is split by section under `src/css/`, with separate CSS files for header, main page, projects, experience, contact, timeline, footer, and extra section styling. The architecture uses CSS files as the presentation boundary rather than CSS-in-JS or a component library.

6. Content and media assets are local and bundled with the app. `public/Resume.pdf` is a downloadable static asset, while `src/assets/images/` holds profile and project imagery such as `jyo-linkedin.jfif`, clay model images, and sketches. This indicates the site is self-contained and asset-driven.

7. The `Projects` area appears to be a small sub-system of its own: `Projects.jsx` likely renders a collection of `ProjectsCard` components, and `extraprojects.css` suggests there may be a secondary project gallery or extended showcase. This is the clearest repeated data-visualization pattern in the app.

8. The `Timeline` and `Experience`/`Education` components imply a structured chronology subsystem for personal history. Visually, this likely feeds a vertical or horizontal timeline representation and complements the resume-style content elsewhere on the page.

9. `Header` is the top-level navigation/identity surface, while `Footer` is the closing contact or attribution surface. `Contact.jsx` is the main outbound interaction point, but there is no evidence of form submission infrastructure or email service integration in the repository tree.

10. Build and tooling are standard Vite React. `vite.config.js` controls bundling, `eslint.config.js` handles linting, and `package-lock.json` indicates a Node-based dependency-managed frontend project. The README confirms the default React + Vite setup rather than a custom framework.

11. From an architecture-diagram perspective, the key flows are: browser loads `index.html` → `main.jsx` boots React → `App.jsx` composes shared layout and sections → `ThemeContext` supplies global visual state → section components render local content and assets → static files from `public/` and `src/assets/` are served by Vite.

12. The main boundary is between global app shell concerns and section-local presentation. Shared concerns live in `App`, `Header`, `Footer`, and `ThemeContext`; domain content is isolated per section; and assets/styles are kept alongside the presentation layer, making the app easy to reason about as a static, componentized portfolio site.

Main entry points: [`src/App.jsx`](https://github.com/jyothiajjarapu/jyothi/blob/main/src/App.jsx) (App.jsx), [`src/Projects.jsx`](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Projects.jsx) (Projects), [`src/main.jsx`](https://github.com/jyothiajjarapu/jyothi/blob/main/src/main.jsx) (main.jsx), [`src/Timeline.jsx`](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Timeline.jsx) (Timeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_group_shell["App shell"]
  node_index_html["index.html<br/>document entry<br/>[index.html]"]
  node_main_jsx["main.jsx<br/>React bootstrap<br/>[main.jsx]"]
  node_app_jsx["App.jsx<br/>layout composer<br/>[App.jsx]"]
  node_theme_context["ThemeContext<br/>global state<br/>[ThemeContext.jsx]"]
end

subgraph group_group_sections["Portfolio sections"]
  node_header_jsx["Header<br/>[Header.jsx]"]
  node_about_jsx["About<br/>profile section<br/>[About.jsx]"]
  node_skills_jsx["Skills<br/>[Skills.jsx]"]
  node_experience_jsx["Experience<br/>timeline section<br/>[Experience.jsx]"]
  node_education_jsx["Education<br/>timeline section<br/>[Education.jsx]"]
  node_timeline_jsx["Timeline<br/>[Timeline.jsx]"]
  node_projects_jsx["Projects<br/>project gallery<br/>[Projects.jsx]"]
  node_project_card_jsx["ProjectsCard<br/>project card<br/>[ProjectsCard.jsx]"]
  node_midpage_jsx["MidPage<br/>divider section<br/>[MidPage.jsx]"]
  node_contact_jsx["Contact<br/>[Contact.jsx]"]
  node_hobbies_jsx["Hobbies<br/>interest section<br/>[Hobbies.jsx]"]
  node_footer_jsx["Footer<br/>[Footer.jsx]"]
  node_app_css["App.css<br/>global styles<br/>[App.css]"]
  node_mainpage_css["Mainpage.css<br/>section styles<br/>[Mainpage.css]"]
  node_projects_css["projects.css<br/>section styles<br/>[projects.css]"]
  node_timeline_css["timeline.css<br/>section styles<br/>[timeline.css]"]
end

subgraph group_group_assets["Assets"]
  node_resume_pdf["Resume.pdf<br/>static asset<br/>[Resume.pdf]"]
  node_profile_image["Profile image<br/>media asset<br/>[jyo-linkedin.jfif]"]
  node_project_images["Project images<br/>media set"]
end

subgraph group_group_tooling["Tooling"]
  node_vite_config["vite.config.js<br/>build config<br/>[vite.config.js]"]
  node_eslint_config["eslint.config.js<br/>lint config<br/>[eslint.config.js]"]
end

node_index_html -->|"loads"| node_main_jsx
node_main_jsx -->|"mounts"| node_app_jsx
node_app_jsx -->|"provides"| node_theme_context
node_app_jsx -->|"renders"| node_header_jsx
node_app_jsx -->|"renders"| node_about_jsx
node_app_jsx -->|"renders"| node_skills_jsx
node_app_jsx -->|"renders"| node_experience_jsx
node_app_jsx -->|"renders"| node_education_jsx
node_app_jsx -->|"renders"| node_projects_jsx
node_app_jsx -->|"renders"| node_contact_jsx
node_app_jsx -->|"renders"| node_hobbies_jsx
node_app_jsx -->|"includes"| node_midpage_jsx
node_app_jsx -->|"ends with"| node_footer_jsx
node_experience_jsx -->|"uses"| node_timeline_jsx
node_education_jsx -->|"uses"| node_timeline_jsx
node_projects_jsx -->|"maps to"| node_project_card_jsx
node_projects_jsx -->|"uses"| node_project_images
node_about_jsx -->|"uses"| node_profile_image
node_contact_jsx -->|"offers"| node_resume_pdf
node_header_jsx -->|"consumes"| node_theme_context
node_footer_jsx -->|"consumes"| node_theme_context
node_app_jsx -->|"styles with"| node_app_css
node_app_jsx -->|"styles with"| node_mainpage_css
node_projects_jsx -->|"styles with"| node_projects_css
node_timeline_jsx -->|"styles with"| node_timeline_css
node_vite_config -.->|"bundles"| node_main_jsx
node_eslint_config -.->|"checks"| node_app_jsx

click node_index_html "https://github.com/jyothiajjarapu/jyothi/blob/main/index.html"
click node_main_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/main.jsx"
click node_app_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/App.jsx"
click node_theme_context "https://github.com/jyothiajjarapu/jyothi/blob/main/src/contexts/ThemeContext.jsx"
click node_header_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Header.jsx"
click node_about_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/About.jsx"
click node_skills_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Skills.jsx"
click node_experience_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Experience.jsx"
click node_education_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Education.jsx"
click node_timeline_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Timeline.jsx"
click node_projects_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Projects.jsx"
click node_project_card_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/ProjectsCard.jsx"
click node_midpage_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/MidPage.jsx"
click node_contact_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Contact.jsx"
click node_hobbies_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Hobbies.jsx"
click node_footer_jsx "https://github.com/jyothiajjarapu/jyothi/blob/main/src/Footer.jsx"
click node_app_css "https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/App.css"
click node_mainpage_css "https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/Mainpage.css"
click node_projects_css "https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/projects.css"
click node_timeline_css "https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/timeline.css"
click node_resume_pdf "https://github.com/jyothiajjarapu/jyothi/blob/main/public/Resume.pdf"
click node_profile_image "https://github.com/jyothiajjarapu/jyothi/blob/main/src/assets/images/jyo-linkedin.jfif"
click node_project_images "https://github.com/jyothiajjarapu/jyothi/tree/main/src/assets/images"
click node_vite_config "https://github.com/jyothiajjarapu/jyothi/blob/main/vite.config.js"
click node_eslint_config "https://github.com/jyothiajjarapu/jyothi/blob/main/eslint.config.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_index_html,node_main_jsx,node_app_jsx,node_theme_context toneBlue
class node_header_jsx,node_about_jsx,node_skills_jsx,node_experience_jsx,node_education_jsx,node_timeline_jsx,node_projects_jsx,node_project_card_jsx,node_midpage_jsx,node_contact_jsx,node_hobbies_jsx,node_footer_jsx,node_app_css,node_mainpage_css,node_projects_css,node_timeline_css toneAmber
class node_resume_pdf,node_profile_image,node_project_images toneMint
class node_vite_config,node_eslint_config toneRose
```

## Components

### App shell

Browser entry, composition root, and global UI state.

- [index.html](https://github.com/jyothiajjarapu/jyothi/blob/main/index.html): document entry · Browser mount point for the SPA. · `index.html`
- [main.jsx](https://github.com/jyothiajjarapu/jyothi/blob/main/src/main.jsx): React bootstrap · Bootstraps the React tree into the page. · `src/main.jsx`
- [App.jsx](https://github.com/jyothiajjarapu/jyothi/blob/main/src/App.jsx): layout composer · Top-level component that assembles the portfolio page. · `src/App.jsx`
- [ThemeContext](https://github.com/jyothiajjarapu/jyothi/blob/main/src/contexts/ThemeContext.jsx): global state · Shared theme mode and toggle boundary. · `src/contexts/ThemeContext.jsx`

### Portfolio sections

Feature-oriented page sections and supporting presentation components.

- [Header](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Header.jsx): site header · Top navigation and identity surface. · `src/Header.jsx`
- [About](https://github.com/jyothiajjarapu/jyothi/blob/main/src/About.jsx): profile section · Introductory personal summary section. · `src/About.jsx`
- [Skills](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Skills.jsx): skills section · Capabilities and tools presentation. · `src/Skills.jsx`
- [Experience](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Experience.jsx): timeline section · Work history and chronology content. · `src/Experience.jsx`
- [Education](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Education.jsx): timeline section · Education history content. · `src/Education.jsx`
- [Timeline](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Timeline.jsx): timeline view · Shared chronology presentation used by history sections. · `src/Timeline.jsx`
- [Projects](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Projects.jsx): project gallery · Projects showcase section. · `src/Projects.jsx`
- [ProjectsCard](https://github.com/jyothiajjarapu/jyothi/blob/main/src/ProjectsCard.jsx): project card · Reusable card used to render individual projects. · `src/ProjectsCard.jsx`
- [MidPage](https://github.com/jyothiajjarapu/jyothi/blob/main/src/MidPage.jsx): divider section · Intermediate page content or spacer between major sections. · `src/MidPage.jsx`
- [Contact](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Contact.jsx): contact section · Outbound contact surface. · `src/Contact.jsx`
- [Hobbies](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Hobbies.jsx): interest section · Personal interests and non-work content. · `src/Hobbies.jsx`
- [Footer](https://github.com/jyothiajjarapu/jyothi/blob/main/src/Footer.jsx): site footer · Closing footer and attribution area. · `src/Footer.jsx`
- [App.css](https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/App.css): global styles · Base styling for the application shell. · `src/css/App.css`
- [Mainpage.css](https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/Mainpage.css): section styles · Styles for the main page sections. · `src/css/Mainpage.css`
- [projects.css](https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/projects.css): section styles · Styles for the project showcase. · `src/css/projects.css`
- [timeline.css](https://github.com/jyothiajjarapu/jyothi/blob/main/src/css/timeline.css): section styles · Styles for the chronology view. · `src/css/timeline.css`

### Assets

Static media and downloadable files bundled with the site.

- [Resume.pdf](https://github.com/jyothiajjarapu/jyothi/blob/main/public/Resume.pdf): static asset · Downloadable resume file. · `public/Resume.pdf`
- [Profile image](https://github.com/jyothiajjarapu/jyothi/blob/main/src/assets/images/jyo-linkedin.jfif): media asset · Primary profile photo used in the portfolio. · `src/assets/images/jyo-linkedin.jfif`
- [Project images](https://github.com/jyothiajjarapu/jyothi/tree/main/src/assets/images): media set · Grouped imagery for project and sketch content. · `src/assets/images`

### Tooling

Build and lint configuration for the Vite React app.

- [vite.config.js](https://github.com/jyothiajjarapu/jyothi/blob/main/vite.config.js): build config · Vite bundling configuration. · `vite.config.js`
- [eslint.config.js](https://github.com/jyothiajjarapu/jyothi/blob/main/eslint.config.js): lint config · ESLint rules and project lint setup. · `eslint.config.js`

## Connections

- index.html → main.jsx: loads · The HTML document hosts the SPA entry.
- main.jsx → App.jsx: mounts · React bootstraps the application composition root.
- App.jsx → ThemeContext: provides · Theme state is shared across the component tree.
- App.jsx → Header: renders · Top-level layout includes the header.
- App.jsx → About: renders · App composes the About section.
- App.jsx → Skills: renders · App composes the Skills section.
- App.jsx → Experience: renders · App composes the Experience section.
- App.jsx → Education: renders · App composes the Education section.
- App.jsx → Projects: renders · App composes the Projects section.
- App.jsx → Contact: renders · App composes the Contact section.
- App.jsx → Hobbies: renders · App composes the Hobbies section.
- App.jsx → MidPage: includes · Intermediate page content is part of the layout.
- App.jsx → Footer: ends with · Footer closes the one-page experience.
- Experience → Timeline: uses · Experience is presented with a timeline component.
- Education → Timeline: uses · Education is presented with a timeline component.
- Projects → ProjectsCard: maps to · Projects section renders repeated project cards.
- Projects → Project images: uses · Project showcase relies on bundled imagery.
- About → Profile image: uses · Profile section uses the main portrait asset.
- Contact → Resume.pdf: offers · Contact area exposes the downloadable resume.
- Header → ThemeContext: consumes · Header likely participates in theme toggling.
- Footer → ThemeContext: consumes · Footer follows the shared theme styling.
- App.jsx → App.css: styles with · Shell styling is defined in CSS.
- App.jsx → Mainpage.css: styles with · Main section layout is styled separately.
- Projects → projects.css: styles with · Project gallery has dedicated CSS.
- Timeline → timeline.css: styles with · Timeline presentation has dedicated CSS.
- vite.config.js → main.jsx: bundles · Vite builds the React entry from source.
- eslint.config.js → App.jsx: checks · Linting covers the application source.
