Auth API
Endpoints d'authentification (inscription, login, mot de passe, profil).
6 routes accessibles aux clients depuis l'extérieur.
Authentification
Préfixe : /api/auth
| Méthode | Route | Handler |
|---|---|---|
POST | /api/auth/register | register |
POST | /api/auth/login | login |
POST | /api/auth/forgot-password | forgotPassword |
POST | /api/auth/reset-password | resetPassword |
GET | /api/auth/profile | getProfile |
PATCH | /api/auth/profile | updateProfile |