# rammarthi9/sqlflashcards architecture

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

- Interactive diagram: https://gitdiagram.com/rammarthi9/sqlflashcards
- Repository: https://github.com/rammarthi9/sqlflashcards

## Overview

SQLFlashCards is currently a React app foundation, not a functioning flashcard or revision system. The present user flow is simply loading the page and viewing its static learning roadmap; the README describes topic selection, answer reveal, feedback, progress tracking, and spaced revision as future work. The graph shows only runtime relationships evidenced by the sampled entry point and app component. Those planned capabilities are intentionally not represented as implemented components.

Main entry points: [`src/main.tsx`](https://github.com/rammarthi9/sqlflashcards/blob/main/src/main.tsx) (React entry), [`src/app/App.tsx`](https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/App.tsx) (Static app shell), [`src/styles.css`](https://github.com/rammarthi9/sqlflashcards/blob/main/src/styles.css) (Page styles), [`src/app/App.css`](https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/App.css) (Shell styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_learner(("Learner"))
node_browser["Browser"]
node_entry["React entry<br/>[main.tsx]"]
node_app["Static app shell<br/>[App.tsx]"]
node_global_styles["Page styles<br/>[styles.css]"]
node_app_styles["Shell styles<br/>[App.css]"]

node_learner -->|"opens app"| node_browser
node_browser -.->|"loads entry"| node_entry
node_entry -->|"renders"| node_app
node_entry -->|"imports styles"| node_global_styles
node_app -->|"imports styles"| node_app_styles

click node_entry "https://github.com/rammarthi9/sqlflashcards/blob/main/src/main.tsx"
click node_app "https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/App.tsx"
click node_global_styles "https://github.com/rammarthi9/sqlflashcards/blob/main/src/styles.css"
click node_app_styles "https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/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_learner toneIndigo
class node_browser toneBlue
class node_entry,node_app,node_global_styles,node_app_styles toneTeal
```

## Components

### Other components

- **Learner**
- **Browser**
- [React entry](https://github.com/rammarthi9/sqlflashcards/blob/main/src/main.tsx): `src/main.tsx`
- [Static app shell](https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/App.tsx): `src/app/App.tsx`
- [Page styles](https://github.com/rammarthi9/sqlflashcards/blob/main/src/styles.css): `src/styles.css`
- [Shell styles](https://github.com/rammarthi9/sqlflashcards/blob/main/src/app/App.css): `src/app/App.css`

## Connections

- Learner → Browser: opens app (evidence: `readme.md`)
- Browser → React entry: loads entry
- React entry → Static app shell: renders (evidence: `src/main.tsx`)
- React entry → Page styles: imports styles (evidence: `src/main.tsx`)
- Static app shell → Shell styles: imports styles (evidence: `src/app/App.tsx`)
