remove crap, erd and architecure diagram

- a bit of cleaning of useless files
- finished ERD diagram
- added architecture diagram
    - added to dossier as well
This commit is contained in:
Awen Lelu
2026-03-10 10:32:47 +01:00
parent 7340e61a30
commit 57714071da
7 changed files with 93 additions and 38 deletions

View File

@@ -4,17 +4,22 @@ config:
layout: elk
---
erDiagram
User ||--o{ Objectif: objectif
User |o--o{ Plan: abonnement
User |o--o{ RegimeAlimentaire: regime
User }o--o{ Allergie: allergies
User }o--o{ Exercice: exercices
Aliment }o--|| Allergie: alergène
Aliment }o--|{ Recette: ingredients
Recette }|--|{ RegimeAlimentaire: regime
Exercice }|--|{ Equipement: équipement
Exercice }|--|{ BodyPart: partieCorps
Exercice }|--|{ Muscle: muscle
UserProfile ||--o{ Objective: objective
UserProfile |o--o{ Subscription: subscription
UserProfile |o--o{ Diet: diet
UserProfile }o--o{ Ingredient: allergies
UserProfile ||--|| User: user
Ingredient |o--o{ Diet: diet
Recipe }|--o{ Ingredient: ingredients
ExercisePlan }|--o{ Exercise: exercises
ExercisePlan ||--o{ User: user
MealPlan }|--o{ Recipe: meals
MealPlan ||--o{ User: user
Exercise |o--o{ Equipement: equipements
Exercise |o--o{ BodyPart: bodyparts
Exercise |o--o{ Muscle: muscles
User{
int id
bool is_superuser
@@ -37,7 +42,7 @@ erDiagram
integer height
string picture
}
Objectif {
Objective{
int id
string name
string description
@@ -62,36 +67,44 @@ erDiagram
int sugars
int salt
}
Recette {
int Id
string Nom
int MinutesPreparation
int MinutesCuisson
string Resume
string Recette
string ImageUrl
Recipe{
int id
string name
int minute_preparation
int minute_preparation
string summary
string steps
string picture
}
Regime {
int Id
string Nom
string Description
MealPlan {
int id
datetime created_date
}
Exercice {
int Id
string Nom
string GifUrl
string Instructions
Diet {
int id
string name
string description
}
Exercise {
int id
string name
string image
string instructions
}
Equipement {
int Id
string Nom
int id
string name
}
BodyPart {
int Id
string Nom
int id
string name
}
Muscle {
int Id
string Nom
int id
string name
}
ExercisePlan {
int id
datetime created_date
}
```