# aiperizhenishova/newintern architecture

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

- Interactive diagram: https://gitdiagram.com/aiperizhenishova/newintern
- Repository: https://github.com/aiperizhenishova/newintern

## Overview

This repository pairs a React student-facing competency tracker with a Spring Boot API. Users register or log in, choose subjects and grades, visualize competency scores, and manage their profile; the frontend also saves selections and scores. The frontend routing and these HTTP calls are visible in sampled code. Backend files are present in the tree, but their contents were not sampled, so backend responsibilities are grouped at directory level and internal API-to-service-to-storage links are omitted rather than assumed.

Main entry points: [`UseThisForFront/src/App.jsx`](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/App.jsx) (App routing), [`TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/controller`](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/controller) (REST controllers), [`UseThisForFront/src/pages/Home.jsx`](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Home.jsx) (Course & chart), [`UseThisForFront/src/pages/Register.jsx`](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Register.jsx) (Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Student frontend"]
  node_app["App routing<br/>[App.jsx]"]
  node_registration["Registration<br/>[Register.jsx]"]
  node_login["Login<br/>[Login.jsx]"]
  node_home["Course &amp; chart<br/>[Home.jsx]"]
  node_profile["Profile management<br/>[Profile.jsx]"]
end

subgraph group_backend["Spring API"]
  node_api["REST controllers"]
  node_authservice["Authentication service<br/>[AuthService.java]"]
  node_subjectservices["Subject &amp; skill services"]
end

subgraph group_security["Access security"]
  node_jwt["JWT handling"]
  node_securityconfig["Security configuration"]
end

subgraph group_data["Domain data"]
  node_entities["Student &amp; subject models"]
  node_repositories[("Data repositories")]
end

node_student(("Student"))

node_student -->|"uses"| node_app
node_app -->|"routes to"| node_registration
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_profile
node_registration -->|"registers via HTTP"| node_api
node_login -->|"authenticates via HTTP"| node_api
node_home -->|"loads subjects"| node_api
node_home -->|"saves scores"| node_api
node_profile -->|"manages profile"| node_api

click node_app "https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/App.jsx"
click node_registration "https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Register.jsx"
click node_login "https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Login.jsx"
click node_home "https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Home.jsx"
click node_profile "https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Profile.jsx"
click node_api "https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/controller"
click node_authservice "https://github.com/aiperizhenishova/newintern/blob/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service/AuthService.java"
click node_subjectservices "https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service"
click node_jwt "https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/security"
click node_securityconfig "https://github.com/aiperizhenishova/newintern/blob/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/configuration/SecurityConfig.java"
click node_entities "https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/model"
click node_repositories "https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/repository"

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_app,node_registration,node_login,node_home,node_profile toneBlue
class node_api,node_authservice,node_subjectservices toneAmber
class node_jwt,node_securityconfig toneMint
class node_entities,node_repositories toneRose
class node_student toneIndigo
```

## Components

### Student frontend

- [App routing](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/App.jsx): `UseThisForFront/src/App.jsx`
- [Registration](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Register.jsx): `UseThisForFront/src/pages/Register.jsx`
- [Login](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Login.jsx): `UseThisForFront/src/pages/Login.jsx`
- [Course & chart](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Home.jsx): `UseThisForFront/src/pages/Home.jsx`
- [Profile management](https://github.com/aiperizhenishova/newintern/blob/master/UseThisForFront/src/pages/Profile.jsx): `UseThisForFront/src/pages/Profile.jsx`

### Spring API

- [REST controllers](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/controller): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/controller`
- [Authentication service](https://github.com/aiperizhenishova/newintern/blob/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service/AuthService.java): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service/AuthService.java`
- [Subject & skill services](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/service`

### Access security

- [JWT handling](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/security): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/security`
- [Security configuration](https://github.com/aiperizhenishova/newintern/blob/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/configuration/SecurityConfig.java): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/configuration/SecurityConfig.java`

### Domain data

- [Student & subject models](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/model): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/model`
- [Data repositories](https://github.com/aiperizhenishova/newintern/tree/master/TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/repository): `TranscriptToDiagram/src/main/java/com/example/transcripttodiagram/repository`

### Other components

- **Student**

## Connections

- Student → App routing: uses
- App routing → Registration: routes to (evidence: `UseThisForFront/src/App.jsx`)
- App routing → Login: routes to (evidence: `UseThisForFront/src/App.jsx`)
- App routing → Course & chart: routes to (evidence: `UseThisForFront/src/App.jsx`)
- App routing → Profile management: routes to (evidence: `UseThisForFront/src/App.jsx`)
- Registration → REST controllers: registers via HTTP (evidence: `UseThisForFront/src/pages/Register.jsx`)
- Login → REST controllers: authenticates via HTTP (evidence: `UseThisForFront/src/pages/Login.jsx`)
- Course & chart → REST controllers: loads subjects (evidence: `UseThisForFront/src/pages/Home.jsx`)
- Course & chart → REST controllers: saves scores (evidence: `UseThisForFront/src/pages/Home.jsx`)
- Profile management → REST controllers: manages profile (evidence: `UseThisForFront/src/pages/Profile.jsx`)
