Commit Graph

7 Commits

Author SHA1 Message Date
JSC
a947fd830b feat: Implement favorites management API; add endpoints for adding, removing, and retrieving favorites for sounds and playlists
feat: Create Favorite model and repository for managing user favorites in the database
feat: Add FavoriteService to handle business logic for favorites management
feat: Enhance Playlist and Sound response schemas to include favorite indicators and counts
refactor: Update API routes to include favorites functionality in playlists and sounds
2025-08-16 21:16:02 +02:00
JSC
6068599a47 Refactor test cases for improved readability and consistency
All checks were successful
Backend CI / lint (push) Successful in 9m49s
Backend CI / test (push) Successful in 6m15s
- Adjusted function signatures in various test files to enhance clarity by aligning parameters.
- Updated patching syntax for better readability across test cases.
- Improved formatting and spacing in test assertions and mock setups.
- Ensured consistent use of async/await patterns in async test functions.
- Enhanced comments for better understanding of test intentions.
2025-08-01 20:53:30 +02:00
JSC
974fb05087 feat: Add unique constraint on sound hash and update related tests 2025-07-30 21:43:27 +02:00
JSC
c993230f98 feat: Add Extraction model and seed main playlist functionality 2025-07-28 19:39:32 +02:00
JSC
af20bc8724 Add database seeding functionality and enhance model relationships
- Implement initial data seeding for plans in the database.
- Create a new `seed_all_data` function to manage seeding process.
- Update `Sound` and `User` models to include relationships for `SoundPlayed` and `Stream`.
2025-07-25 11:44:47 +02:00
JSC
2860008a6d Remove unnecessary blank lines in model files for cleaner code structure 2025-07-22 16:18:41 +02:00
JSC
fefb7f7bf4 Refactor code structure for improved readability and maintainability 2025-07-22 13:21:44 +02:00