nss-cohort-40 / bangazon-ecommerce-api-silly-walkers-ecommerce-api

bangazon-ecommerce-api-silly-walkers-ecommerce-api created by GitHub Classroom
0 stars 0 forks source link

CLIENT & SERVER -- User can like or dislike products #22

Open JoeShep opened 4 years ago

JoeShep commented 4 years ago

Given the user is authenticated When the user is viewing a product detail page Then a like and dislike button should be presented next to the product title

Given the user is authenticated When the user clicks on the like or dislike icon Then that preference should be stored for the current user

LukeEsworthy commented 4 years ago

What -- Server Side

This ticket records and stores a user's preference to liking or disliking a product, AFTER user chooses to select one of those two things

LukeEsworthy commented 4 years ago

What -- Client Side

This ticket displays two buttons next to a product title in the DETAIL view: LIKE and DISLIKE

LukeEsworthy commented 4 years ago

How -- Server Side

When user clicks "like" or "dislike" button next to a product title, the preference should be stored for the current user. Could be similar to last Bangazon sprint where a user could check a box saying they are a Supervisor?

LukeEsworthy commented 4 years ago

How -- Client Side

Buttons like any we've done before should show next to product title in detail view When clicked, that button should show it is clicked by highlighting/turning the other button grey?

LukeEsworthy commented 4 years ago

Dependencies -- Server Side

I'm not positive where the customer's preference should be stored (Product table?) But will certainly need Customer and Product information

LukeEsworthy commented 4 years ago

Dependencies -- Client Side

This will require the customer and product tables