Movie Recommendations (and in conjunction, Movie Suggestions) have been implemented through the implementation of the MoviesList Component.
The body of the component contains an updated useEffect statement which correctly retrieves the data corresponding to the current page it is asked to render (Recommendations or Suggestions). Additionally, its return function also contains the appropriate logic to determine which list of movies (and associated data) should be rendered.
The backend has also been updated to reflect the need for more database calls to retrieve the necessary data to create the recommendations list for the current user.
To Test:
Log in to your profile of choice and create at least 1 review (always best to have more to be safe). Upon clicking on the suggestions button, you should be greeted with a list of movies from which you can choose.
I didn't see any issues and you seem to have fixed anything mentioned prior. I'm able to get the list of recommended movies and it looks very good on the frontend and I didn't have any bugs. Good job on this!
Movie Recommendations (and in conjunction, Movie Suggestions) have been implemented through the implementation of the MoviesList Component.
The body of the component contains an updated useEffect statement which correctly retrieves the data corresponding to the current page it is asked to render (Recommendations or Suggestions). Additionally, its return function also contains the appropriate logic to determine which list of movies (and associated data) should be rendered.
The backend has also been updated to reflect the need for more database calls to retrieve the necessary data to create the recommendations list for the current user.
To Test: Log in to your profile of choice and create at least 1 review (always best to have more to be safe). Upon clicking on the suggestions button, you should be greeted with a list of movies from which you can choose.