TIDE/backend/app/Post
yisroel 4a4e046de4
implement CreatePost use case
trims title and body, rejects empty (post-trim) values with
BadRequest. supplies createdAt from injected Clock. persists
through PostRepository->create and returns the resulting Post.
44 tests pass.
2026-05-06 15:23:21 +03:00
..
UseCases/CreatePost implement CreatePost use case 2026-05-06 15:23:21 +03:00
CreatePostDto.php add Post entity, dto, repository interface 2026-05-06 15:19:00 +03:00
EloquentPostRepository.php add Post persistence: model, migration, eloquent + fake repo 2026-05-06 15:22:22 +03:00
Post.php add Post entity, dto, repository interface 2026-05-06 15:19:00 +03:00
PostModel.php add Post persistence: model, migration, eloquent + fake repo 2026-05-06 15:22:22 +03:00
PostRepository.php add Post entity, dto, repository interface 2026-05-06 15:19:00 +03:00