Implement a new feature that allows users to like 'thoughts' and display them on their profile. This feature involves both back-end and front-end changes.
Back-End Changes:
Update the necessary models, resolvers, and schema to support the new feature.
Create a new relationship between users and thoughts to handle the likes.
Implement the necessary API endpoints for liking thoughts and retrieving liked thoughts for a user.
Ensure proper data validation and error handling.
Front-End Changes:
Enhance the user interface to include the functionality for liking 'thoughts'.
Modify the Profile page to display the liked thoughts of the user.
Implement the UI components and interactions for liking and displaying thoughts on the user's profile.
User Story
AS A USER I WANT to be able to like 'thoughts' and have them displayed on my profile.
Acceptance Criteria
Users can like 'thoughts' by clicking a 'like' button associated with each thought.
Liked thoughts are stored and associated with the user's profile.
The Profile page displays the liked thoughts of the user.
The user interface provides visual feedback when a thought is liked.
Additional Notes
Ensure that the back-end changes are properly tested to maintain system stability.
Consider the impact on performance and optimize the implementation if necessary.
Description
Implement a new feature that allows users to like 'thoughts' and display them on their profile. This feature involves both back-end and front-end changes.
Back-End Changes:
Front-End Changes:
User Story
AS A USER
I WANT to be able to like 'thoughts' and have them displayed on my profile.
Acceptance Criteria
Additional Notes