gholamimohsen / StilGalleriet

StillGalleriet
3 stars 0 forks source link

Reviews: Add references #40

Closed Shumisen closed 5 months ago

Shumisen commented 5 months ago

Goals:

Extra additions:

Not done: Check if buying user is allowed to make a review(Need to have a order that is completed) - Should implement this in another branch

steFue commented 5 months ago

Tested creating a Review with a rating input and not leaving a comment, check picture below. (postman approved)

Image

Tested creating a Review with a rating input and a comment statement, check picture below(postman approved)

Image

Tested creating a Review without rating input and and not leaving a comment(postman approved) Is there a risk by leaving it like that? Thoughts? On review database it is shown as you inserted a 0 rating by default.

Image

Image

Otherwise the Code works great for me. Even Dany checked it on hers.

steFue commented 5 months ago

One other thing i forgot to mention, is maybe to have an issue where we can put every created review and get a message back when the review gets created in postman?

steFue commented 5 months ago

Find all reviews from a specific seller.

Image