f7ac628445
feat( #132 ): photo à la création enfant staff (multipart + bools).
...
Transform "true"/"false" pour class-validator ; multipart staff
avec FileInterceptor('photo') inchangé côté stockage.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 18:08:52 +02:00
0ec3410457
feat( #132 ): POST /enfants staff — parent_user_id + liens foyer.
...
Autorise GESTIONNAIRE/ADMIN/SUPER_ADMIN à créer un enfant rattaché
à un foyer existant (JSON + parent_user_id). Parent multipart inchangé.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 18:03:41 +02:00
77d952a6f7
fix( #144 ): persister le consentement photo des enfants
...
- DTO inscription enfant : champ consent_photo
- Inscription + reprise parent : sauvegarde bool + date
- Front payload : envoi consent_photo
- PATCH /enfants : horodatage du consentement
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 12:36:05 +02:00
52e40d0001
feat( #131 ): back placement AM↔enfant + BDD garde/sans_garde
...
- API PATCH …/fiche, POST/DELETE …/enfants/:enfantId, GET avec amChildren
- Table enfants_assistantes_maternelles (option D, 1 garde active/enfant)
- Statuts enfant: garde/sans_garde remplacent actif (inscription → sans_garde)
- BDD.sql canonique réécrit; migration pour BDD existantes
- Seed test: hash bcrypt corrigé pour mot de passe « password »
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 14:05:39 +02:00
1dddc67933
feat( #140 ): dashboard admin ch.6 — fiche parent, enfants, affiliation
...
Back: PATCH /parents/:id/fiche, attach/detach enfant, GET /enfants enrichi.
Front: modale parent éditable, onglet Enfants, fiche enfant, UserService.
Couvre doc 28 §6.1–6.2 ; tickets liés #115 #116 #130 #131 #137 #138 .
Hors scope: fiche AM (#131 ), création admin (#129 ).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 00:35:00 +02:00
579b6cae90
[Backend] API Inscription Parent - REFONTE Workflow 6 etapes ( #72 )
...
Co-authored-by: Julien Martin <julien.martin@ptits-pas.fr>
Co-committed-by: Julien Martin <julien.martin@ptits-pas.fr>
2025-12-01 21:43:36 +00:00
33d6e7b0c3
feat: Intégration du backend NestJS depuis YNOV
...
- Framework: NestJS avec TypeORM
- Authentification: JWT (access + refresh tokens)
- Gestion utilisateurs: CRUD complet avec validation
- Routes: auth, users, parents, assistantes maternelles
- Dockerfile pour conteneurisation
2025-11-24 15:44:07 +01:00