# balamurugan0113/bala-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/balamurugan0113/bala-portfolio
- Repository: https://github.com/balamurugan0113/bala-portfolio

## Overview

This repository is an AI and security engineer’s portfolio, with a React frontend, contact API, and a collection of standalone project implementations. The main visitor workflow is to browse the portfolio and project showcases, inspect project source, and optionally submit a contact form. The graph also preserves the independent project capabilities represented in the tree. Some UI wiring and project internals were not excerpted, so only documented or directly indexed relationships are shown.

Main entry points: [`client/src/app/App.tsx`](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/app/App.tsx) (Portfolio app), [`client/src/features/projects/ProjectsSection.tsx`](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/projects/ProjectsSection.tsx) (Projects gallery), [`client/src/features/contact/ContactSection.tsx`](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/contact/ContactSection.tsx) (Contact form), [`client/src/main.tsx`](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/main.tsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio Experience"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Portfolio app<br/>[App.tsx]"]
  node_hero["3D hero<br/>[HeroSection.tsx]"]
  node_about["About section<br/>[AboutSection.tsx]"]
  node_skills["Skills dashboard<br/>[SkillsSection.tsx]"]
  node_experience["Experience section"]
  node_navigation["Smart navigation<br/>[Navbar.tsx]"]
  node_theme["Theme context<br/>[ThemeContext.tsx]"]
end

subgraph group_contact["Contact Service"]
  node_contactform["Contact form<br/>[ContactSection.tsx]"]
  node_contactapi["Contact API<br/>[contact.ts]"]
  node_mailserver["Express contact service<br/>[index.ts]"]
end

subgraph group_showcase["Project Showcase"]
  node_projects["Projects gallery"]
  node_mobiledeck["Mobile project deck"]
  node_carousel["Project carousel<br/>[SkewedCarousel.tsx]"]
  node_projectfiles["Project file catalog<br/>[projectFiles.ts]"]
  node_portfolio_data["Portfolio content<br/>[const.ts]"]
end

subgraph group_examples["Standalone Projects"]
  node_aqi["Air-quality predictor<br/>[aqi_predictor.py]"]
  node_attendance["Attendance system<br/>[app.py]"]
  node_cardio["Cardio ML pipeline<br/>[model_pipeline.py]"]
  node_digit_model["Digit CNN<br/>[cnn_model.py]"]
  node_digit_inference["Digit inference<br/>[inference.py]"]
  node_managerbot["Server manager bot<br/>[manager_bot.js]"]
  node_musicbot["Music bot<br/>[music_bot.js]"]
  node_freelance["Freelance portal<br/>[app.js]"]
  node_assistant["Generative AI assistant<br/>[langchain_agent.py]"]
  node_intelliq_api["INTELLIQ API<br/>[main.py]"]
  node_intelliq_models["INTELLIQ data models<br/>[models.py]"]
  node_nids["Intrusion detection<br/>[nids.py]"]
  node_kanchipuram["Kanchipuram bot<br/>[bot.py]"]
  node_memories["Balloon pop game<br/>[balloon_pop.js]"]
  node_sentiment_api["Sentiment stream API<br/>[main.py]"]
  node_sentiment_model["Sentiment classifier<br/>[classifier.py]"]
end

node_visitor(("Portfolio visitor"))
node_smtp(("SMTP service"))

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"presents"| node_hero
node_app -->|"presents"| node_about
node_app -->|"presents"| node_skills
node_app -->|"presents"| node_experience
node_app -->|"presents"| node_navigation
node_app -->|"presents"| node_projects
node_app -->|"presents"| node_contactform
node_visitor -->|"browses"| node_projects
node_projects -->|"renders"| node_mobiledeck
node_projects -->|"renders"| node_carousel
node_projects -->|"inspects"| node_projectfiles
node_contactform -->|"submits"| node_mailserver
node_contactform -.->|"submits"| node_contactapi
node_mailserver -->|"sends email"| node_smtp
node_digit_inference -->|"uses model"| node_digit_model
node_intelliq_api -->|"queries"| node_intelliq_models
node_sentiment_api -->|"classifies"| node_sentiment_model

click node_entry "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/main.tsx"
click node_app "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/app/App.tsx"
click node_hero "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/hero/HeroSection.tsx"
click node_about "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/about/AboutSection.tsx"
click node_skills "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/skills/SkillsSection.tsx"
click node_experience "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/experience/ExperienceSection.tsx"
click node_navigation "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/components/layout/Navbar.tsx"
click node_theme "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/context/ThemeContext.tsx"
click node_contactform "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/contact/ContactSection.tsx"
click node_contactapi "https://github.com/balamurugan0113/bala-portfolio/blob/main/api/contact.ts"
click node_mailserver "https://github.com/balamurugan0113/bala-portfolio/blob/main/server/index.ts"
click node_projects "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/projects/ProjectsSection.tsx"
click node_mobiledeck "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/projects/MobileProjectDeck.tsx"
click node_carousel "https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/components/ui/SkewedCarousel.tsx"
click node_projectfiles "https://github.com/balamurugan0113/bala-portfolio/blob/main/shared/projectFiles.ts"
click node_portfolio_data "https://github.com/balamurugan0113/bala-portfolio/blob/main/shared/const.ts"
click node_aqi "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/aqi_predictor/aqi_predictor.py"
click node_attendance "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/attendance_system/app.py"
click node_cardio "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/cardio_ml/model_pipeline.py"
click node_digit_model "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/digit_recognition/cnn_model.py"
click node_digit_inference "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/digit_recognition/inference.py"
click node_managerbot "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/discord_bots/manager_bot.js"
click node_musicbot "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/discord_bots/music_bot.js"
click node_freelance "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/freelance_portals/app.js"
click node_assistant "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/gen_ai_assistant/langchain_agent.py"
click node_intelliq_api "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intelliq/main.py"
click node_intelliq_models "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intelliq/models.py"
click node_nids "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intrusion_detection/nids.py"
click node_kanchipuram "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/kanchipuram_bot/bot.py"
click node_memories "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/memories_portals/balloon_pop.js"
click node_sentiment_api "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/sentiment_analyzer/main.py"
click node_sentiment_model "https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/sentiment_analyzer/classifier.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_entry,node_app,node_hero,node_about,node_skills,node_experience,node_navigation,node_theme toneBlue
class node_contactform,node_contactapi,node_mailserver toneAmber
class node_projects,node_mobiledeck,node_carousel,node_projectfiles,node_portfolio_data toneMint
class node_aqi,node_attendance,node_cardio,node_digit_model,node_digit_inference,node_managerbot,node_musicbot,node_freelance,node_assistant,node_intelliq_api,node_intelliq_models,node_nids,node_kanchipuram,node_memories,node_sentiment_api,node_sentiment_model toneRose
class node_visitor,node_smtp toneIndigo
```

## Components

### Portfolio Experience

- [React entry](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/main.tsx): `client/src/main.tsx`
- [Portfolio app](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/app/App.tsx): `client/src/app/App.tsx`
- [3D hero](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/hero/HeroSection.tsx): `client/src/features/hero/HeroSection.tsx`
- [About section](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/about/AboutSection.tsx): `client/src/features/about/AboutSection.tsx`
- [Skills dashboard](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/skills/SkillsSection.tsx): `client/src/features/skills/SkillsSection.tsx`
- [Experience section](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/experience/ExperienceSection.tsx): `client/src/features/experience/ExperienceSection.tsx`
- [Smart navigation](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/components/layout/Navbar.tsx): `client/src/components/layout/Navbar.tsx`
- [Theme context](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/context/ThemeContext.tsx): `client/src/context/ThemeContext.tsx`

### Contact Service

- [Contact form](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/contact/ContactSection.tsx): `client/src/features/contact/ContactSection.tsx`
- [Contact API](https://github.com/balamurugan0113/bala-portfolio/blob/main/api/contact.ts): `api/contact.ts`
- [Express contact service](https://github.com/balamurugan0113/bala-portfolio/blob/main/server/index.ts): `server/index.ts`

### Project Showcase

- [Projects gallery](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/projects/ProjectsSection.tsx): `client/src/features/projects/ProjectsSection.tsx`
- [Mobile project deck](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/features/projects/MobileProjectDeck.tsx): `client/src/features/projects/MobileProjectDeck.tsx`
- [Project carousel](https://github.com/balamurugan0113/bala-portfolio/blob/main/client/src/components/ui/SkewedCarousel.tsx): `client/src/components/ui/SkewedCarousel.tsx`
- [Project file catalog](https://github.com/balamurugan0113/bala-portfolio/blob/main/shared/projectFiles.ts): `shared/projectFiles.ts`
- [Portfolio content](https://github.com/balamurugan0113/bala-portfolio/blob/main/shared/const.ts): `shared/const.ts`

### Standalone Projects

- [Air-quality predictor](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/aqi_predictor/aqi_predictor.py): `projects/aqi_predictor/aqi_predictor.py`
- [Attendance system](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/attendance_system/app.py): `projects/attendance_system/app.py`
- [Cardio ML pipeline](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/cardio_ml/model_pipeline.py): `projects/cardio_ml/model_pipeline.py`
- [Digit CNN](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/digit_recognition/cnn_model.py): `projects/digit_recognition/cnn_model.py`
- [Digit inference](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/digit_recognition/inference.py): `projects/digit_recognition/inference.py`
- [Server manager bot](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/discord_bots/manager_bot.js): `projects/discord_bots/manager_bot.js`
- [Music bot](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/discord_bots/music_bot.js): `projects/discord_bots/music_bot.js`
- [Freelance portal](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/freelance_portals/app.js): `projects/freelance_portals/app.js`
- [Generative AI assistant](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/gen_ai_assistant/langchain_agent.py): `projects/gen_ai_assistant/langchain_agent.py`
- [INTELLIQ API](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intelliq/main.py): `projects/intelliq/main.py`
- [INTELLIQ data models](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intelliq/models.py): `projects/intelliq/models.py`
- [Intrusion detection](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/intrusion_detection/nids.py): `projects/intrusion_detection/nids.py`
- [Kanchipuram bot](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/kanchipuram_bot/bot.py): `projects/kanchipuram_bot/bot.py`
- [Balloon pop game](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/memories_portals/balloon_pop.js): `projects/memories_portals/balloon_pop.js`
- [Sentiment stream API](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/sentiment_analyzer/main.py): `projects/sentiment_analyzer/main.py`
- [Sentiment classifier](https://github.com/balamurugan0113/bala-portfolio/blob/main/projects/sentiment_analyzer/classifier.py): `projects/sentiment_analyzer/classifier.py`

### Other components

- **Portfolio visitor**
- **SMTP service**

## Connections

- Portfolio visitor → React entry: opens (evidence: `README.md`)
- React entry → Portfolio app: renders (evidence: `client/src/main.tsx`)
- Portfolio app → 3D hero: presents (evidence: `README.md`)
- Portfolio app → About section: presents (evidence: `README.md`)
- Portfolio app → Skills dashboard: presents (evidence: `README.md`)
- Portfolio app → Experience section: presents (evidence: `README.md`)
- Portfolio app → Smart navigation: presents (evidence: `README.md`)
- Portfolio app → Projects gallery: presents (evidence: `README.md`)
- Portfolio app → Contact form: presents (evidence: `README.md`)
- Portfolio visitor → Projects gallery: browses (evidence: `README.md`)
- Projects gallery → Mobile project deck: renders (evidence: `client/src/features/projects/ProjectsSection.tsx`)
- Projects gallery → Project carousel: renders (evidence: `client/src/features/projects/ProjectsSection.tsx`)
- Projects gallery → Project file catalog: inspects (evidence: `client/src/features/projects/ProjectsSection.tsx`)
- Contact form → Express contact service: submits (evidence: `README.md`)
- Contact form → Contact API: submits
- Express contact service → SMTP service: sends email (evidence: `README.md`)
- Digit inference → Digit CNN: uses model (evidence: `projects/digit_recognition/inference.py`)
- INTELLIQ API → INTELLIQ data models: queries (evidence: `projects/intelliq/main.py`)
- Sentiment stream API → Sentiment classifier: classifies (evidence: `projects/sentiment_analyzer/main.py`)
