TIDE/backend/app/User
yisroel a108b29d19
implement SignupUser use case
validates email present + format (wraps EmailAddress vo's
InvalidArgumentException as BadRequest), password present +
>= 8 chars, then ensures email not already registered. hashes
password through injected PasswordHasher and persists via
UserRepository->create with isAdmin=false (admins are seeder-
only per plan). throws DomainException on duplicate email so
the controller layer can map it to 409. all 18 tests pass.
2026-05-06 15:13:26 +03:00
..
UseCases/SignupUser implement SignupUser use case 2026-05-06 15:13:26 +03:00
CreateUserDto.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00
EloquentUserRepository.php add User persistence: model, migration, eloquent + fake repo 2026-05-06 15:10:21 +03:00
User.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00
UserModel.php add User persistence: model, migration, eloquent + fake repo 2026-05-06 15:10:21 +03:00
UserRepository.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00