Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User can like or dislike products #3

Open
hannahhall opened this issue Feb 9, 2021 · 0 comments
Open

User can like or dislike products #3

hannahhall opened this issue Feb 9, 2021 · 0 comments
Labels
2 enhancement New feature or request

Comments

@hannahhall
Copy link

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

@hannahhall hannahhall added the enhancement New feature or request label Feb 9, 2021
@jamalbrowning jamalbrowning added the 2 label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants