Matin
- Présentation du module (objectifs, livrables, soutenance).
- Discussion autour de l’IA et développement
- Initialisation du projet :
- Création d’un monorepo Git (client/ + server/) public.
- Backend Node/Express init (npm init, Express).
- Connexion MongoDB (Atlas).
Après-midi
- Modèle User (email, password hash, createdAt).
- Authentification :
- POST /auth/register (hash bcrypt).
- POST /auth/login (JWT).
- Middleware requireAuth (protection des routes).
- Mise en place Swagger + doc des routes Auth.