[FEATURE] Implement Personalized Book Recommendations Based on User Search History #92
Open
1 task done
Labels
enhancement
New feature or request
gssoc
GirlScript Summer Of Code
gssoc-ext
hacktoberfest
hacktoberfest-accepted
level3
GirlScript Summer Of Code - 35 points
status: ready for dev
You can asked for this issue to be assigned (if not already assigned)
Is this feature already requested?
Problem or Missing Functionality
Currently, the system lacks personalized recommendations for users based on their interests and search behavior. Without targeted suggestions, users might struggle to discover new books relevant to their preferences, reducing engagement and retention. This feature aims to address this gap by tracking user search history and providing book recommendations based on previously searched genres, thereby enhancing the user experience and promoting book discovery.
Feature Description
The Personalized Book Recommendation feature suggests books based on a user’s past searches, primarily focusing on the last-searched genre. It enhances user engagement by offering relevant recommendations and promotes book discovery. If no search history is available, the system defaults to popular books, ensuring continuous functionality with minimal changes to the existing system.
Screenshots
No response
Would you like to work on this feature?
Yes
Implementation Plan
Implementation Plan
UserSearchHistory
table to store user ID, searched genre, and timestamp.UserSearchHistoryRepository
to retrieve the last-searched genre for a user.BookService
to fetch books based on the user’s last-searched genre or return popular books if no history is found./recommendations/{userId}
endpoint inBookController
to serve the recommendations.The text was updated successfully, but these errors were encountered: