# gokeeel/gokul-jayachandran architecture

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

- Interactive diagram: https://gitdiagram.com/gokeeel/gokul-jayachandran
- Repository: https://github.com/gokeeel/gokul-jayachandran

## Overview

1. **Repository purpose**
   - This is a personal portfolio site for Gokul Jayachandran.
   - The app is essentially a polished, single-page presentation site rather than a data-driven product.

2. **Top-level runtime split**
   - The repository has a **React/Vite frontend** under `client/` and a **minimal Express backend** under `server/`.
   - The backend exists mainly to serve the built frontend and support local development; there is no visible business API or database layer in the repo structure.

3. **Frontend composition**
   - `client/src/App.tsx` is the entry point for the UI shell.
   - `client/src/pages/FrameScreen.tsx` appears to be the main page composition layer, assembling the portfolio into sections.
   - The page is split into dedicated content sections in `client/src/pages/sections/`, which is the main architectural boundary for the UI.

4. **Section-level structure**
   - The site is organized into self-contained visual/content blocks:
     - `NavSection.tsx` for top navigation
     - `HeroSection.tsx` for the opening banner and personal identity
     - `AboutSection.tsx` for profile summary
     - `SkillsSection.tsx` for capability grouping
     - `ProjectsSection.tsx` for featured work
     - `ExperienceSection.tsx` for timeline and certifications
     - `ContactSection.tsx` for call-to-action and footer
   - This makes the page easy to diagram as a linear content flow from top to bottom.

5. **Shared UI layer**
   - `client/src/components/ui/` contains reusable UI primitives, including `card.tsx` and likely other shadcn-style components.
   - These are presentation building blocks used across the section components to keep the portfolio visually consistent.

6. **Styling and visual system**
   - Styling is built with **Tailwind CSS** and a dark theme palette.
   - The visual language is centered on a black background, purple accents, and glass-card styling.
   - `client/src/index.css` and `tailwind.config.ts` define the site-wide look and typography, while component-level classes shape each section.

7. **Client entry and rendering flow**
   - `client/src/main.tsx` bootstraps the React app into the browser.
   - The render path is: browser loads the app shell, `App` mounts, `FrameScreen` composes the portfolio sections, and the section components render their static content and links.
   - Because this is a portfolio, the primary data flow is from hardcoded content/assets into UI components, not from an external API.

8. **Asset boundary**
   - Photos and other media live in `attached_assets/`.
   - The hero section likely consumes the background and profile imagery from that asset set, making media a separate content input from the code itself.

9. **Backend responsibilities**
   - `server/index.ts`, `server/static.ts`, and `server/vite.ts` indicate a standard Node/Express serving pipeline.
   - In development, the server likely proxies or integrates with Vite; in production, it serves static built assets.
   - This backend is an infrastructure boundary, not a domain logic layer.

10. **Build and packaging**
   - `vite.config.ts`, `postcss.config.js`, `tailwind.config.ts`, and `package.json` show a frontend-first build toolchain.
   - `script/build.ts` suggests a custom build step or packaging helper for deployment.
   - The architecture is optimized for fast client-side rendering and static hosting via the Express wrapper.

11. **Navigation model**
   - The app is a single-page experience with section-based navigation rather than multi-route app flows.
   - The navigation component likely links to in-page anchors, so the main user journey is vertical scrolling through the portfolio sections.

12. **External interaction surface**
   - The only meaningful external dependencies visible from the structure are social/contact links such as GitHub, LinkedIn, and email.
   - There are no visible integrations with auth, payments, third-party APIs, or persistence systems.

13. **How to diagram it**
   - Show a browser client loading the React app, with `FrameScreen` as the composition hub.
   - Under that hub, show the six content sections plus shared UI components and static assets.
   - Put Express/Vite behind the app as the delivery layer, with no separate data service or database tier.

Main entry points: [`client/src/pages/FrameScreen.tsx`](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/FrameScreen.tsx) (Frame Screen), [`client/src/components/ui/card.tsx`](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/components/ui/card.tsx) (UI kit), [`server/index.ts`](https://github.com/gokeeel/gokul-jayachandran/blob/main/server/index.ts) (Express), [`client/src/main.tsx`](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/main.tsx) (Entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Client"]
  node_main["Entry<br/>react boot<br/>[main.tsx]"]
  node_app["App shell<br/>react shell<br/>[App.tsx]"]
  node_frame["Frame Screen<br/>page composer<br/>[FrameScreen.tsx]"]
  node_ui["UI kit<br/>shared components<br/>[card.tsx]"]
end

subgraph group_sections["Sections"]
  node_nav["Nav<br/>section<br/>[NavSection.tsx]"]
  node_hero["Hero<br/>section<br/>[HeroSection.tsx]"]
  node_about["About<br/>section<br/>[AboutSection.tsx]"]
  node_skills["Skills<br/>section<br/>[SkillsSection.tsx]"]
  node_projects["Projects<br/>section"]
  node_experience["Experience<br/>section"]
  node_contact["Contact<br/>section<br/>[ContactSection.tsx]"]
end

subgraph group_server["Server"]
  node_server["Express<br/>node server<br/>[index.ts]"]
  node_vitebridge["Vite bridge<br/>server adapter<br/>[vite.ts]"]
  node_staticserve["Static serve<br/>server adapter<br/>[static.ts]"]
end

subgraph group_assets["Assets"]
  node_assets[("Media<br/>static assets")]
end

subgraph group_tooling["Tooling"]
  node_theme["Theme<br/>styling system<br/>[index.css]"]
  node_build["Build stack<br/>build tooling<br/>[build.ts]"]
end

node_browser(("Browser<br/>runtime"))

node_browser -->|"loads"| node_main
node_main -->|"mounts"| node_app
node_app -->|"renders"| node_frame
node_frame -->|"includes"| node_nav
node_frame -->|"includes"| node_hero
node_frame -->|"includes"| node_about
node_frame -->|"includes"| node_skills
node_frame -->|"includes"| node_projects
node_frame -->|"includes"| node_experience
node_frame -->|"includes"| node_contact
node_hero -->|"uses"| node_assets
node_projects -->|"uses"| node_ui
node_skills -->|"uses"| node_ui
node_experience -->|"uses"| node_ui
node_contact -->|"uses"| node_ui
node_frame -->|"styled by"| node_theme
node_server -->|"dev mode"| node_vitebridge
node_server -->|"prod mode"| node_staticserve
node_build -->|"configures"| node_theme
node_build -.->|"packages"| node_main
node_server -->|"delivers"| node_browser

click node_main "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/main.tsx"
click node_app "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/App.tsx"
click node_frame "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/FrameScreen.tsx"
click node_nav "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/NavSection.tsx"
click node_hero "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/HeroSection.tsx"
click node_about "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/AboutSection.tsx"
click node_skills "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/SkillsSection.tsx"
click node_projects "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ProjectsSection.tsx"
click node_experience "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ExperienceSection.tsx"
click node_contact "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ContactSection.tsx"
click node_ui "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/components/ui/card.tsx"
click node_theme "https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/index.css"
click node_assets "https://github.com/gokeeel/gokul-jayachandran/tree/main/attached_assets"
click node_server "https://github.com/gokeeel/gokul-jayachandran/blob/main/server/index.ts"
click node_vitebridge "https://github.com/gokeeel/gokul-jayachandran/blob/main/server/vite.ts"
click node_staticserve "https://github.com/gokeeel/gokul-jayachandran/blob/main/server/static.ts"
click node_build "https://github.com/gokeeel/gokul-jayachandran/blob/main/script/build.ts"

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_main,node_app,node_frame,node_ui toneBlue
class node_nav,node_hero,node_about,node_skills,node_projects,node_experience,node_contact toneAmber
class node_server,node_vitebridge,node_staticserve toneMint
class node_assets toneRose
class node_theme,node_build toneIndigo
class node_browser toneNeutral
```

## Components

### Client

React/Vite frontend

- [Entry](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/main.tsx): react boot · Mounts the client app · `client/src/main.tsx`
- [App shell](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/App.tsx): react shell · Top-level client application wrapper · `client/src/App.tsx`
- [Frame Screen](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/FrameScreen.tsx): page composer · Assembles the portfolio page layout · `client/src/pages/FrameScreen.tsx`
- [UI kit](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/components/ui/card.tsx): shared components · Reusable presentation primitives · `client/src/components/ui/card.tsx`

### Sections

Single-page content blocks

- [Nav](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/NavSection.tsx): section · Top navigation and in-page anchors · `client/src/pages/sections/NavSection.tsx`
- [Hero](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/HeroSection.tsx): section · Opening identity banner · `client/src/pages/sections/HeroSection.tsx`
- [About](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/AboutSection.tsx): section · Profile summary block · `client/src/pages/sections/AboutSection.tsx`
- [Skills](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/SkillsSection.tsx): section · Capability grouping and highlights · `client/src/pages/sections/SkillsSection.tsx`
- [Projects](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ProjectsSection.tsx): section · Featured work showcase · `client/src/pages/sections/ProjectsSection.tsx`
- [Experience](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ExperienceSection.tsx): section · Timeline and certifications · `client/src/pages/sections/ExperienceSection.tsx`
- [Contact](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/pages/sections/ContactSection.tsx): section · Call-to-action and footer links · `client/src/pages/sections/ContactSection.tsx`

### Server

Express delivery layer

- [Express](https://github.com/gokeeel/gokul-jayachandran/blob/main/server/index.ts): node server · Serves the frontend and dev pipeline · `server/index.ts`
- [Vite bridge](https://github.com/gokeeel/gokul-jayachandran/blob/main/server/vite.ts): server adapter · Dev-time integration with Vite · `server/vite.ts`
- [Static serve](https://github.com/gokeeel/gokul-jayachandran/blob/main/server/static.ts): server adapter · Production static asset serving · `server/static.ts`

### Assets

Static media and imagery

- [Media](https://github.com/gokeeel/gokul-jayachandran/tree/main/attached_assets): static assets · Photos and other attached imagery · `attached_assets`

### Tooling

Build and styling pipeline

- [Theme](https://github.com/gokeeel/gokul-jayachandran/blob/main/client/src/index.css): styling system · Tailwind-driven dark visual language · `client/src/index.css`
- [Build stack](https://github.com/gokeeel/gokul-jayachandran/blob/main/script/build.ts): build tooling · Vite, Tailwind, PostCSS, and packaging helper · `script/build.ts`

### Other components

- **Browser**: runtime · Loads the portfolio app in the browser

## Connections

- Browser → Entry: loads · Browser loads the client entry
- Entry → App shell: mounts · Bootstraps the React app shell
- App shell → Frame Screen: renders · App hands off to the page composer
- Frame Screen → Nav: includes · Composes the navigation section
- Frame Screen → Hero: includes · Composes the hero section
- Frame Screen → About: includes · Composes the about section
- Frame Screen → Skills: includes · Composes the skills section
- Frame Screen → Projects: includes · Composes the projects section
- Frame Screen → Experience: includes · Composes the experience section
- Frame Screen → Contact: includes · Composes the contact section
- Hero → Media: uses · Hero consumes media assets
- Projects → UI kit: uses · Featured content is built from shared UI primitives
- Skills → UI kit: uses · Section cards and layout reuse shared components
- Experience → UI kit: uses · Timeline/certification presentation uses shared components
- Contact → UI kit: uses · Contact CTA and footer reuse the UI kit
- Frame Screen → Theme: styled by · Sections inherit the site-wide visual system
- Express → Vite bridge: dev mode · Express integrates with Vite during development
- Express → Static serve: prod mode · Express serves built assets in production
- Build stack → Theme: configures · Build stack defines the styling pipeline
- Build stack → Entry: packages · Tooling builds the client application
- Express → Browser: delivers · Server delivers the app to the browser
