[Backend] API Inscription Parent - REFONTE (Workflow complet 6 etapes) #18

Closed
opened 2025-11-28 10:09:58 +00:00 by jmartin · 0 comments
Owner

Description

REFONTE : Creer un endpoint complet qui gere les 6 etapes du workflow inscription parent en une seule transaction.

Workflow CDC (6 etapes)

  1. Etape 1 : Informations Parent 1 (obligatoire)
  2. Etape 2 : Informations Parent 2 / Co-parent (optionnel)
  3. Etape 3 : Enfant(s) avec photos (au moins 1 requis)
  4. Etape 4 : Presentation du dossier (optionnel)
  5. Etape 5 : Acceptation CGU + Privacy (obligatoire)
  6. Etape 6 : Recapitulatif -> VALIDATION = 1 appel API

Taches Backend

  • DTO RegisterParentCompletDto
  • DTO EnfantInscriptionDto
  • Endpoint POST /api/v1/auth/register/parent (complet)
  • Transaction unique : Utilisateurs + Parents + Enfants + Photos
  • Generation tokens creation MDP (Parent 1 + Parent 2)
  • Enregistrement acceptation CGU avec horodatage
  • Gestion photos enfants (base64 -> fichier)
  • Statut en_attente pour validation gestionnaire
  • Tests avec couple MARTIN + triples

References

  • 20_WORKFLOW-CREATION-COMPTE.md
  • Tickets 18 et 19 fusionnes
## Description **REFONTE** : Creer un endpoint complet qui gere les 6 etapes du workflow inscription parent en une seule transaction. ## Workflow CDC (6 etapes) 1. Etape 1 : Informations Parent 1 (obligatoire) 2. Etape 2 : Informations Parent 2 / Co-parent (optionnel) 3. Etape 3 : Enfant(s) avec photos (au moins 1 requis) 4. Etape 4 : Presentation du dossier (optionnel) 5. Etape 5 : Acceptation CGU + Privacy (obligatoire) 6. Etape 6 : Recapitulatif -> VALIDATION = 1 appel API ## Taches Backend - DTO RegisterParentCompletDto - DTO EnfantInscriptionDto - Endpoint POST /api/v1/auth/register/parent (complet) - Transaction unique : Utilisateurs + Parents + Enfants + Photos - Generation tokens creation MDP (Parent 1 + Parent 2) - Enregistrement acceptation CGU avec horodatage - Gestion photos enfants (base64 -> fichier) - Statut en_attente pour validation gestionnaire - Tests avec couple MARTIN + triples ## References - 20_WORKFLOW-CREATION-COMPTE.md - Tickets 18 et 19 fusionnes
jmartin added this to the v0.1.0 - MVP Fonctionnel milestone 2025-11-28 10:09:58 +00:00
jmartin added the
backend
p2
auth
cdc
phase-1
labels 2025-11-28 10:09:58 +00:00
jmartin self-assigned this 2025-11-28 10:09:58 +00:00
jmartin changed title from [Backend] API Inscription Parent (étape 1 - Parent 1) to [Backend] API Inscription Parent - REFONTE (Workflow complet 6 étapes) 2025-12-01 21:19:55 +00:00
jmartin reopened this issue 2025-12-01 21:19:55 +00:00
jmartin changed title from [Backend] API Inscription Parent - REFONTE (Workflow complet 6 étapes) to [Backend] API Inscription Parent - REFONTE (Workflow complet 6 etapes) 2025-12-01 21:20:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jmartin/petitspas#18
No description provided.