# ttyson1-bali/side-project-internship-project architecture

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

- Interactive diagram: https://gitdiagram.com/ttyson1-bali/side-project-internship-project
- Repository: https://github.com/ttyson1-bali/side-project-internship-project

## Overview

This is a small internship-application tracker. A user views and adds applications, then can delete them: the React interface requests application data from a FastAPI service, which delegates reads, inserts, and deletes to SQLite. The interface also maintains the returned application list in local state. The README describes no additional product capabilities; the available source shows only these CRUD stages. The graph reflects the sampled frontend and backend code, not inferred features or deployment details.

Main entry points: [`internship-tracker/frontend/src/App.tsx`](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/App.tsx) (Application UI), [`internship-tracker/backend/main.py`](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/main.py) (CRUD API), [`internship-tracker/backend/database.py`](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/database.py) (SQLite access), [`internship-tracker/frontend/src/main.tsx`](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/main.tsx) (React bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Web interface"]
  node_bootstrap["React bootstrap<br/>[main.tsx]"]
  node_app["Application UI<br/>[App.tsx]"]
  node_card["Application card<br/>[App.tsx]"]
end

subgraph group_service["Application service"]
  node_api["CRUD API<br/>[main.py]"]
end

subgraph group_persistence["Persistence"]
  node_database["SQLite access<br/>[database.py]"]
  node_store[("Applications database<br/>[applications.db]")]
end

node_user(("User"))

node_user -->|"uses"| node_app
node_bootstrap -->|"renders"| node_app
node_app -->|"renders"| node_card
node_app -->|"sends CRUD requests"| node_api
node_api -->|"delegates CRUD"| node_database
node_database -->|"reads and writes"| node_store

click node_bootstrap "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/main.tsx"
click node_app "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/App.tsx"
click node_card "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/App.tsx"
click node_api "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/main.py"
click node_database "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/database.py"
click node_store "https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/applications.db"

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_app,node_card,node_user toneBlue
class node_api toneAmber
class node_database,node_store toneMint
```

## Components

### Web interface

- [React bootstrap](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/main.tsx): `internship-tracker/frontend/src/main.tsx`
- [Application UI](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/App.tsx): `internship-tracker/frontend/src/App.tsx`
- [Application card](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/frontend/src/App.tsx): `internship-tracker/frontend/src/App.tsx`

### Application service

- [CRUD API](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/main.py): `internship-tracker/backend/main.py`

### Persistence

- [SQLite access](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/database.py): `internship-tracker/backend/database.py`
- [Applications database](https://github.com/ttyson1-bali/side-project-internship-project/blob/main/internship-tracker/backend/applications.db): `internship-tracker/backend/applications.db`

### Other components

- **User**

## Connections

- User → Application UI: uses (evidence: `internship-tracker/frontend/src/App.tsx`)
- React bootstrap → Application UI: renders (evidence: `internship-tracker/frontend/src/main.tsx`)
- Application UI → Application card: renders (evidence: `internship-tracker/frontend/src/App.tsx`)
- Application UI → CRUD API: sends CRUD requests (evidence: `internship-tracker/frontend/src/App.tsx`)
- CRUD API → SQLite access: delegates CRUD (evidence: `internship-tracker/backend/main.py`)
- SQLite access → Applications database: reads and writes (evidence: `internship-tracker/backend/database.py`)
