day-cohort-70 / bangazon-api-i-like-planes-api

bangazon-api-i-like-planes-api created by GitHub Classroom
1 stars 0 forks source link

Feature: User can like or dislike products #17

Open stevebrownlee opened 3 months ago

stevebrownlee commented 3 months ago

Given the user is authenticated When the client performs a POST operation to the /products/n/like URL Then that preference should be created for the current user

Given the user is authenticated When the client performs a DELETE operation to the /products/n/like URL Then that preference should be removed for the current user

Given the user is authenticated When the client performs a GET operation to the /products/liked URL Then the response should contain a list of products liked by the user

All likes should be displayed in the user profile