# joaovitorvallim/behavioral-games-tcc architecture

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

- Interactive diagram: https://gitdiagram.com/joaovitorvallim/behavioral-games-tcc
- Repository: https://github.com/joaovitorvallim/behavioral-games-tcc

## Overview

BehaviorLab is a small React frontend for a behavioral-analysis education platform. Users reach a landing page with a student-session entry point or a docente login form; the form only checks for empty fields and logs credentials, and the student button has no implemented action. A separate dashboard route currently renders a placeholder. The app entry point wraps routing in React Query context. The README is empty, so product capabilities beyond the sampled UI and routes are unknown; no backend or session workflow is visible.

Main entry points: [`game-platform/src/app/router.tsx`](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/router.tsx) (Route Table), [`game-platform/src/main.tsx`](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/main.tsx) (React Entry), [`game-platform/src/modules/auth/pages/LoginPage.tsx`](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/modules/auth/pages/LoginPage.tsx) (Landing and Login), [`game-platform/src/app/providers/QueryProvider.tsx`](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/providers/QueryProvider.tsx) (Query Context)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App Runtime"]
  node_entry["React Entry<br/>[main.tsx]"]
  node_query["Query Context<br/>[QueryProvider.tsx]"]
  node_router["Route Table<br/>[router.tsx]"]
end

subgraph group_access["User Access"]
  node_login["Landing and Login<br/>[LoginPage.tsx]"]
end

subgraph group_sessions["Game Sessions"]
  node_dashboard["Games Dashboard<br/>[DashboardPage.tsx]"]
end

node_user(("Platform User"))

node_user -->|"uses"| node_login
node_entry -->|"wraps"| node_query
node_entry -->|"renders routes"| node_router
node_router -->|"routes /"| node_login
node_router -->|"routes /dashboard"| node_dashboard

click node_entry "https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/main.tsx"
click node_query "https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/providers/QueryProvider.tsx"
click node_router "https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/router.tsx"
click node_login "https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/modules/auth/pages/LoginPage.tsx"
click node_dashboard "https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/modules/game-session/pages/DashboardPage.tsx"

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_entry,node_query,node_router,node_user toneBlue
class node_login toneAmber
class node_dashboard toneMint
```

## Components

### App Runtime

- [React Entry](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/main.tsx): `game-platform/src/main.tsx`
- [Query Context](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/providers/QueryProvider.tsx): `game-platform/src/app/providers/QueryProvider.tsx`
- [Route Table](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/app/router.tsx): `game-platform/src/app/router.tsx`

### User Access

- [Landing and Login](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/modules/auth/pages/LoginPage.tsx): `game-platform/src/modules/auth/pages/LoginPage.tsx`

### Game Sessions

- [Games Dashboard](https://github.com/joaovitorvallim/behavioral-games-tcc/blob/main/game-platform/src/modules/game-session/pages/DashboardPage.tsx): `game-platform/src/modules/game-session/pages/DashboardPage.tsx`

### Other components

- **Platform User**

## Connections

- Platform User → Landing and Login: uses (evidence: `game-platform/src/modules/auth/pages/LoginPage.tsx`)
- React Entry → Query Context: wraps (evidence: `game-platform/src/main.tsx`)
- React Entry → Route Table: renders routes (evidence: `game-platform/src/main.tsx`)
- Route Table → Landing and Login: routes / (evidence: `game-platform/src/app/router.tsx`)
- Route Table → Games Dashboard: routes /dashboard (evidence: `game-platform/src/app/router.tsx`)
