Files
openrouter-watcher/src/openrouter_monitor
Luca Sacchi Ricciardi 714bde681c feat(auth): T18 implement user registration endpoint
Add POST /api/auth/register endpoint with:
- UserRegister schema validation
- Email uniqueness check
- Password hashing with bcrypt
- User creation in database
- UserResponse returned (excludes password)

Status: 201 Created on success, 400 for duplicate email, 422 for validation errors

Test coverage: 5 tests for register endpoint
2026-04-07 13:57:38 +02:00
..