# vikasachar27-jpg/protmind_ai architecture

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

- Interactive diagram: https://gitdiagram.com/vikasachar27-jpg/protmind_ai
- Repository: https://github.com/vikasachar27-jpg/protmind_ai

## Overview

ProtMind AI is currently a React frontend: users explore a research workflow, authenticate using frontend-only local state, and reach a workspace whose first analysis step collects protein and mutation inputs. The displayed workflow describes biological analysis capabilities, but the repository evidence does not show their execution or a backend connection. The graph distinguishes the documented workflow from implemented UI; unsampled screen routing and analysis behavior are not asserted.

Main entry points: [`src/App.jsx`](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx) (App State & Routing), [`src/main.jsx`](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/main.jsx) (React Bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application Shell"]
  node_bootstrap["React Bootstrap<br/>[main.jsx]"]
  node_appstate["App State &amp; Routing<br/>[App.jsx]"]
end

subgraph group_experience["Research Experience"]
  node_header["Header Navigation<br/>[App.jsx]"]
  node_welcome["Welcome Page<br/>[App.jsx]"]
  node_workflow["Workflow Overview<br/>[App.jsx]"]
  node_auth["Local Authentication<br/>[App.jsx]"]
  node_styles["Application Styling<br/>[App.css]"]
end

subgraph group_analysis["Analysis Workspace"]
  node_dashboard["Research Dashboard<br/>[App.jsx]"]
  node_input["Analysis Input<br/>[App.jsx]"]
  node_analysisstages["Analysis Stage Descriptions<br/>[App.jsx]"]
end

node_researcher(("Researcher"))

node_bootstrap -->|"renders"| node_appstate
node_appstate -->|"renders"| node_header
node_appstate -->|"renders"| node_welcome
node_appstate -->|"renders"| node_auth
node_researcher -.->|"uses navigation"| node_header
node_header -->|"changes page state"| node_appstate
node_welcome -->|"displays stages"| node_workflow
node_researcher -.->|"submits credentials"| node_auth
node_auth -->|"sets local user"| node_appstate
node_researcher -.->|"enters protein data"| node_input
node_workflow -->|"describes pipeline"| node_analysisstages

click node_bootstrap "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/main.jsx"
click node_appstate "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_header "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_welcome "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_workflow "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_auth "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_dashboard "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_input "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_analysisstages "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx"
click node_styles "https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.css"

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_bootstrap,node_appstate toneBlue
class node_header,node_welcome,node_workflow,node_auth,node_styles toneAmber
class node_dashboard,node_input,node_analysisstages toneMint
class node_researcher toneIndigo
```

## Components

### Application Shell

- [React Bootstrap](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/main.jsx): `src/main.jsx`
- [App State & Routing](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`

### Research Experience

- [Header Navigation](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Welcome Page](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Workflow Overview](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Local Authentication](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Application Styling](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.css): `src/App.css`

### Analysis Workspace

- [Research Dashboard](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Analysis Input](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`
- [Analysis Stage Descriptions](https://github.com/vikasachar27-jpg/protmind_ai/blob/main/src/App.jsx): `src/App.jsx`

### Other components

- **Researcher**

## Connections

- React Bootstrap → App State & Routing: renders (evidence: `src/main.jsx`)
- App State & Routing → Header Navigation: renders (evidence: `src/App.jsx`)
- App State & Routing → Welcome Page: renders (evidence: `src/App.jsx`)
- App State & Routing → Local Authentication: renders (evidence: `src/App.jsx`)
- Researcher → Header Navigation: uses navigation
- Header Navigation → App State & Routing: changes page state (evidence: `src/App.jsx`)
- Welcome Page → Workflow Overview: displays stages (evidence: `src/App.jsx`)
- Researcher → Local Authentication: submits credentials
- Local Authentication → App State & Routing: sets local user (evidence: `src/App.jsx`)
- Researcher → Analysis Input: enters protein data (evidence: `README.md`)
- Workflow Overview → Analysis Stage Descriptions: describes pipeline (evidence: `src/App.jsx`)
