Open shreya5653 opened 1 week ago
@ajaynegi45 I would like to work on this issue as well. Can you please assign it to me.
@ajaynegi45 i would like to work on issue would you assign me this issue .
@ajaynegi45 I would like to work on this issue as well. Can you please assign it to me.
Start working on it
@ajaynegi45 i would like to work on this issue please assign me this
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.