Clone this repo, run npm install
and npm start
and it should be running on http://localhost:3000/
.
We are using mock responses from My JSON Server:
- https://my-json-server.typicode.com/bonobos/fake-product/products
- https://my-json-server.typicode.com/bonobos/fake-product/products/[:id]
- https://my-json-server.typicode.com/bonobos/fake-product/carts
Populate the homepage with a list of product tiles by hitting /products
endpoint. Product tiles should have name, image, and should be clickable into the product detail page.
Populate individual product pages by hitting /products/[:id]
. Product pages should have a gallery of images, title, price information, description, and a list of all the option type and value combinations for that product (i.e. Option Types are things like Color, Pant Waist, ), and Add to Cart button.
Make the Cart "functional" by opening it when Add to Cart is clicked. Populate the cart with data from the /carts
endpoint and from the /products/[:id]
endpoint.