Commit Graph

62 Commits

Author SHA1 Message Date
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
98ad1b19fa refactor(tests): remove unused models from api_test 2026-05-04 09:35:54 +02:00
60d0d68266 cargo lock 2026-05-04 09:30:58 +02:00
0d7a0cc712 presentation wiring 2026-05-04 09:30:20 +02:00
4a9bb5f264 chore: ignore .worktrees/ directory 2026-05-04 02:43:32 +02:00
d2c8886bb0 feat(presentation): add initial structure with dtos, errors, extractors, handlers, and routes modules 2026-05-04 02:11:33 +02:00
408f21b7ec refactor(template-askama): clean up comments and improve code readability 2026-05-04 02:05:13 +02:00
9cc2d3dd7a feat(template-askama): add Askama template adapter for diary entries 2026-05-04 02:04:52 +02:00
1823756fc1 feat(sqlite): implement movie and review management with migrations
- Added SQL migrations for movies and reviews tables.
- Implemented SqliteMovieRepository with methods for upserting movies, saving reviews, and querying diary entries.
- Introduced models for database rows and conversion to domain models.
- Integrated async migration handling in the repository.
- Updated Cargo.toml files to include necessary dependencies for async operations and HTTP handling.
2026-05-04 01:59:52 +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