From 4372f7502553c8680715ac9a80c4c3f62fa313de Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:36:43 +0100 Subject: [PATCH] docs: remove POO class diagram from annex in project dossier - Deleted the class diagram representing backend entities to simplify and declutter the annex section. --- dossier-de-projet-cda.md | 53 ---------------------------------------- 1 file changed, 53 deletions(-) diff --git a/dossier-de-projet-cda.md b/dossier-de-projet-cda.md index 6559d28..b6eeab1 100644 --- a/dossier-de-projet-cda.md +++ b/dossier-de-projet-cda.md @@ -761,60 +761,7 @@ Je tiens à remercier l'équipe pédagogique pour son accompagnement tout au lon ### Annexe 1 - Schéma de classe POO du backend -Le diagramme suivant représente les entités principales du domaine et leurs relations au sein du backend NestJS. -```mermaid -classDiagram - class User { - +UUID uuid - +String username - +String email (Encrypted) - +String emailHash - +String passwordHash - +String avatarUrl - +Enum status - +Boolean isTwoFactorEnabled - +DateTime createdAt - +softDelete() - } - - class Content { - +UUID id - +UUID userId - +Enum type - +String title - +String slug - +String storageKey - +Int views - +Int usageCount - +DateTime createdAt - +incrementViews() - } - - class Category { - +UUID id - +String name - +String slug - } - - class Tag { - +UUID id - +String name - } - - class Report { - +UUID id - +UUID contentId - +String reason - +Enum status - +DateTime createdAt - } - - User "1" -- "0..*" Content : owns - Content "0..*" -- "1" Category : categorized_in - Content "0..*" -- "0..*" Tag : tagged_with - Content "1" -- "0..*" Report : has_reports -``` ### Annexe 2 - Sources et ressources - [Documentation NestJS](https://docs.nestjs.com/)