Mathis 3232e5fac1
feat(services): improve UserService with enhanced error handling and data validation
This commit includes updates to `user.service.ts` that enhance error handling and data validation. The `getUserFromUsername` function has been renamed to `getUserByEmail` reflecting the new identifier being used to retrieve users. Both `getUserByEmail` and `getUserFromIdService` have been revised to include error handling and logging capability. The `register` function now incorporates stronger validation checks and proper GDPR verification. It is also updated to return JWT token on successful registration.

Issue: #18
Signed-off-by: Mathis <yidhra@tuta.io>
2024-04-30 12:38:26 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:55:37 +02:00
2024-04-29 14:58:44 +02:00
2024-04-22 16:05:04 +02:00
2024-04-30 10:55:37 +02:00
2024-04-22 16:05:04 +02:00
2024-04-23 13:51:59 +02:00

brief-05-back

Description
Faux site de location de véhicule.
Readme 648 KiB
Languages
TypeScript 100%