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 rate product after purchase. Seller can see average. #21

Open JoeShep opened 4 years ago

JoeShep commented 4 years ago

Given the user is authenticated And is viewing their Order History (see #18) When user rates a product from 1 to 5 Then the product rating must be saved in the system

Given the user is authenticated And has sold products When the user views their Account View Then the average of all their product ratings will be displayed

LukeEsworthy commented 4 years ago

What -- Server Side

User can rate an item from 1-5

LukeEsworthy commented 4 years ago

How -- Server Side

When user rates an item from 1-5, the rating is stored to the Product (?) table

LukeEsworthy commented 4 years ago

Dependencies

LukeEsworthy commented 4 years ago

What -- Client Side

When user visits their Account View, assuming this user has sold products and those products have been rated, the average of their product ratings will be shown

LukeEsworthy commented 4 years ago

How -- Client side

Account View will need to fetch data from customer and product tables, to display products the customer has sold and to show information about those products (such as average ratings)

LukeEsworthy commented 4 years ago

Dependencies