pesto-students / little-tags-Piyush-Ranjan-Mishra-frontend

Clothing store frontend.
https://keen-hamilton-203206.netlify.app/
0 stars 1 forks source link

Implement Search + Product Page + Categories Page #9

Open ArfatSalman opened 3 years ago

ArfatSalman commented 3 years ago

Instructions

As per your mocks, start implementing the product search feature, categories page, and the single product page itself. More info is provided below.

Where will I get data to render?

If the fakestoreapi is not helpful, feel free to mock the data by creating a JSON file with any relevant data yourself. The only thing you need to be careful is that you should fix the shape of the data and assume that this data was coming from the server itself. This way, once you have the server ready, you can just change the source. I agree that there will be front-end changes when the app is paired with the server, but hopefully they should be minimal if the shape is consistent.

Also, remember that any API can and will fail. So take the error cases into account as well.

Requirements

Product Search Feature

When the user starts typing a product, you should show an autocomplete results box (or page if that's what your mock has) with the results. User should be able to tab through the results. Other natural keyboard buttons should also work.

Categories Page

The product display should have price, product name and rating at the very least. There should also be a "Add to cart" button (this doesn't have to work). The user should be able to filter the product set with a few things of your choosing. Also, the user should be able to sort the set based on some criteria (such as price, rating etc.)

Single Product Page

The page should show the price, description (if any), rating, images, quantity, add to cart, add to wishlist etc.

Feel free to add more things on these pages if they are present in your mocks.

Checklist of requirement

Resources

Need help?

Comment on this thread if there is any confusion with the requirements. Try to follow your mocks. Don't drastically change things until needed. Minor modifications are allowed.