Standards pour les commits Git. Use when "commit", "git commit", "commit message", "prepare commit".
Définir les standards pour les commits Git dans le projet consultant-manager.
<type>(<scope>): <subject>
[body optionnel]
[footer optionnel]
feat - Nouvelle fonctionnalitéfix - Correction de bugrefactor - Refactoring (ni feat ni fix)style - Changements de style (format, indentation)docs - Documentation uniquementtest - Ajout ou modification de testschore - Maintenance (deps, config, build)perf - Amélioration de performanceIndique la partie du projet affectée:
backend - Backend Express/Prismafrontend - Frontend Reactapi - Routes APIdb - Base de données/Prismaui - Interface utilisateurconsultants - Fonctionnalité consultantsmissions - Fonctionnalité missionsdashboard - DashboardBREAKING CHANGE: descriptionFixes #123, Closes #456Feature simple:
feat(consultants): add email validation in form
Fix avec contexte:
fix(api): prevent duplicate consultant emails
Validate email uniqueness before creating consultant to avoid
Prisma unique constraint errors.
Refactoring:
refactor(backend): extract status calculation to utility
Move consultant status calculation logic from controller to
utils/status.ts for better testability and reusability.
Breaking change:
feat(api): change consultant status enum values
BREAKING CHANGE: Status values changed from French to uppercase
constants (DISPONIBLE, EN_MISSION, EN_CONGES, INDISPONIBLE).
Frontend must be updated to use new values.
Multiple scopes:
feat(consultants,missions): add revenue calculation
- Add calculateRevenue utility function
- Display total revenue in mission list
- Show consultant total earnings in profile
Documentation: