Closed GreeshmaRahool closed 2 years ago
Who: As a developer What: Able to retrieve information about a specific product. Why: so the user can see the specific product details.
Check the wireframes Display product page here: https://www.figma.com/file/lMeDy1n608SLjsKYrKu1nc/HYF-WebShop?node-id=0%3A1
Create the GET endpoint for 'api/products/{product_id}'
Check the README file here https://github.com/HackYourFuture-CPH/fp-class18/#-working-with-api-documentation---swagger and this article should also help you with that https://blog.logrocket.com/documenting-your-express-api-with-swagger/
Already created an issue for retrieving product with productid
User story
Who: As a developer What: Able to retrieve information about a specific product. Why: so the user can see the specific product details.
Acceptance criteria
Check the wireframes Display product page here: https://www.figma.com/file/lMeDy1n608SLjsKYrKu1nc/HYF-WebShop?node-id=0%3A1
Implementation details
Create the GET endpoint for 'api/products/{product_id}'
Check the README file here https://github.com/HackYourFuture-CPH/fp-class18/#-working-with-api-documentation---swagger and this article should also help you with that https://blog.logrocket.com/documenting-your-express-api-with-swagger/