# gary750/remy architecture

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

- Interactive diagram: https://gitdiagram.com/gary750/remy
- Repository: https://github.com/gary750/remy

## Overview

Remy is a Flutter application whose file tree suggests a classroom recipe platform with professor and student experiences. A likely workflow is signing in, joining or creating a class, sharing recipes, and managing assignments or grades. The README only identifies this as a new Flutter project, and the sampled source covers platform scaffolding rather than Dart runtime code; consequently, the feature map and its dashed relationships are inferred from filenames, not verified calls.

Main entry points: [`lib/views/student`](https://github.com/gary750/remy/tree/main/lib/views/student) (Student screens), [`lib/views/mobile/professor`](https://github.com/gary750/remy/tree/main/lib/views/mobile/professor) (Professor screens), [`lib/controllers/recipe_controller.dart`](https://github.com/gary750/remy/blob/main/lib/controllers/recipe_controller.dart) (Recipe management), [`lib/main.dart`](https://github.com/gary750/remy/blob/main/lib/main.dart) (App entry and routing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and app shell"]
  node_auth_ui["Sign in and register"]
  node_auth_state["Authentication"]
  node_app_shell["App entry and routing<br/>[main.dart]"]
end

subgraph group_classroom["Classroom workflows"]
  node_professor_ui["Professor screens"]
  node_student_ui["Student screens"]
  node_class_state["Class management"]
  node_student_state["Student management"]
  node_enrollment_data["Enrollment access"]
  node_assignment_state["Assignment management"]
end

subgraph group_recipes["Recipe workflows"]
  node_recipe_ui["Recipe screens"]
  node_recipe_state["Recipe management"]
end

subgraph group_domain["Domain and services"]
  node_recipe_model["Recipe records<br/>[recipe_model.dart]"]
  node_class_model["Class records<br/>[class_model.dart]"]
  node_assignment_model["Assignment records"]
  node_grade_model["Grade records<br/>[grade_model.dart]"]
  node_backend["Supabase services"]
end

node_user(("User"))
node_supabase[("Supabase")]

node_user -.->|"uses"| node_auth_ui
node_auth_ui -.->|"authenticates"| node_auth_state
node_auth_state -.->|"unlocks"| node_app_shell
node_app_shell -.->|"presents"| node_professor_ui
node_app_shell -.->|"presents"| node_student_ui
node_professor_ui -.->|"manages classes"| node_class_state
node_professor_ui -.->|"manages assignments"| node_assignment_state
node_student_ui -.->|"manages students"| node_student_state
node_student_ui -.->|"joins classes"| node_enrollment_data
node_student_ui -.->|"shares recipes"| node_recipe_state
node_professor_ui -.->|"reviews recipes"| node_recipe_state
node_recipe_ui -.->|"browses recipes"| node_recipe_state
node_recipe_state -.->|"uses records"| node_recipe_model
node_class_state -.->|"uses records"| node_class_model
node_assignment_state -.->|"uses records"| node_assignment_model
node_student_ui -.->|"views grades"| node_grade_model
node_backend -.->|"accesses"| node_supabase

click node_auth_ui "https://github.com/gary750/remy/tree/main/lib/views/auth"
click node_auth_state "https://github.com/gary750/remy/blob/main/lib/controllers/auth_controller.dart"
click node_app_shell "https://github.com/gary750/remy/blob/main/lib/main.dart"
click node_professor_ui "https://github.com/gary750/remy/tree/main/lib/views/mobile/professor"
click node_student_ui "https://github.com/gary750/remy/tree/main/lib/views/student"
click node_class_state "https://github.com/gary750/remy/blob/main/lib/controllers/class_controller.dart"
click node_student_state "https://github.com/gary750/remy/blob/main/lib/controllers/student_controller.dart"
click node_enrollment_data "https://github.com/gary750/remy/blob/main/lib/providers/enrollment_provider.dart"
click node_assignment_state "https://github.com/gary750/remy/blob/main/lib/controllers/assignment_controller.dart"
click node_recipe_ui "https://github.com/gary750/remy/tree/main/lib/views/student"
click node_recipe_state "https://github.com/gary750/remy/blob/main/lib/controllers/recipe_controller.dart"
click node_recipe_model "https://github.com/gary750/remy/blob/main/lib/models/recipe_model.dart"
click node_class_model "https://github.com/gary750/remy/blob/main/lib/models/class_model.dart"
click node_assignment_model "https://github.com/gary750/remy/blob/main/lib/models/assignment_model.dart"
click node_grade_model "https://github.com/gary750/remy/blob/main/lib/models/grade_model.dart"
click node_backend "https://github.com/gary750/remy/blob/main/lib/services/supabase_service.dart"

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_auth_ui,node_auth_state,node_app_shell,node_user toneBlue
class node_professor_ui,node_student_ui,node_class_state,node_student_state,node_enrollment_data,node_assignment_state,node_supabase toneAmber
class node_recipe_ui,node_recipe_state toneMint
class node_recipe_model,node_class_model,node_assignment_model,node_grade_model,node_backend toneRose
```

## Components

### Access and app shell

- [Sign in and register](https://github.com/gary750/remy/tree/main/lib/views/auth): `lib/views/auth`
- [Authentication](https://github.com/gary750/remy/blob/main/lib/controllers/auth_controller.dart): `lib/controllers/auth_controller.dart`
- [App entry and routing](https://github.com/gary750/remy/blob/main/lib/main.dart): `lib/main.dart`

### Classroom workflows

- [Professor screens](https://github.com/gary750/remy/tree/main/lib/views/mobile/professor): `lib/views/mobile/professor`
- [Student screens](https://github.com/gary750/remy/tree/main/lib/views/student): `lib/views/student`
- [Class management](https://github.com/gary750/remy/blob/main/lib/controllers/class_controller.dart): `lib/controllers/class_controller.dart`
- [Student management](https://github.com/gary750/remy/blob/main/lib/controllers/student_controller.dart): `lib/controllers/student_controller.dart`
- [Enrollment access](https://github.com/gary750/remy/blob/main/lib/providers/enrollment_provider.dart): `lib/providers/enrollment_provider.dart`
- [Assignment management](https://github.com/gary750/remy/blob/main/lib/controllers/assignment_controller.dart): `lib/controllers/assignment_controller.dart`

### Recipe workflows

- [Recipe screens](https://github.com/gary750/remy/tree/main/lib/views/student): `lib/views/student`
- [Recipe management](https://github.com/gary750/remy/blob/main/lib/controllers/recipe_controller.dart): `lib/controllers/recipe_controller.dart`

### Domain and services

- [Recipe records](https://github.com/gary750/remy/blob/main/lib/models/recipe_model.dart): `lib/models/recipe_model.dart`
- [Class records](https://github.com/gary750/remy/blob/main/lib/models/class_model.dart): `lib/models/class_model.dart`
- [Assignment records](https://github.com/gary750/remy/blob/main/lib/models/assignment_model.dart): `lib/models/assignment_model.dart`
- [Grade records](https://github.com/gary750/remy/blob/main/lib/models/grade_model.dart): `lib/models/grade_model.dart`
- [Supabase services](https://github.com/gary750/remy/blob/main/lib/services/supabase_service.dart): `lib/services/supabase_service.dart`

### Other components

- **User**
- **Supabase**

## Connections

- User → Sign in and register: uses
- Sign in and register → Authentication: authenticates
- Authentication → App entry and routing: unlocks
- App entry and routing → Professor screens: presents
- App entry and routing → Student screens: presents
- Professor screens → Class management: manages classes
- Professor screens → Assignment management: manages assignments
- Student screens → Student management: manages students
- Student screens → Enrollment access: joins classes
- Student screens → Recipe management: shares recipes
- Professor screens → Recipe management: reviews recipes
- Recipe screens → Recipe management: browses recipes
- Recipe management → Recipe records: uses records
- Class management → Class records: uses records
- Assignment management → Assignment records: uses records
- Student screens → Grade records: views grades
- Supabase services → Supabase: accesses
