Commit Graph

58 Commits

Author SHA1 Message Date
5ada90a99f feat: add feed/profile domain models, extend DiaryFilter 2026-05-04 18:26:55 +02:00
4c38724d93 feat(domain): add get_review_by_id to MovieRepository 2026-05-04 14:15:04 +02:00
37c7c77399 feat(domain): add find_by_id to UserRepository + SQLite impl 2026-05-04 13:28:20 +02:00
e78216b404 feat(metadata): Implement OMDB metadata provider and refactor metadata client
- Added `OmdbProvider` to fetch movie metadata from the OMDB API.
- Refactored `MetadataClient` to use `MetadataSearchCriteria` for fetching movie metadata.
- Updated `MetadataClientImpl` to support fetching metadata using OMDB.
- Modified `log_review` use case to utilize the new metadata fetching mechanism.
- Updated tests and presentation layer to accommodate changes in metadata handling.
- Added dependencies for `reqwest` and `async-trait` in relevant `Cargo.toml` files.
2026-05-04 11:19:51 +02:00
1f8b24fec2 feat(auth): implement JWT authentication and user registration
- Added JWT authentication with token generation and validation.
- Introduced user registration functionality with email and password.
- Integrated Argon2 for password hashing.
- Created SQLite user repository for user data persistence.
- Updated application context to include user repository and configuration settings.
- Added environment variable support for JWT secret and registration allowance.
- Enhanced error handling for unauthorized access and validation errors.
- Updated presentation layer to handle login and registration requests.
2026-05-04 10:43:07 +02:00
c70a17fb38 Add SQLite repository implementation and update domain models for persistence 2026-05-04 01:34:52 +02:00
b026a184c2 application layer 2026-05-04 01:19:59 +02:00
810bad1126 init domain 2026-05-04 00:26:10 +02:00