Create a React Ecommerce Application
-
2 pages:
- Home Page
- Specific Item
-
Grid of products
- Carousel of featured products
- Product Page (with id parameter) Similar to a product page on another site, allows you to add to cart and select product variants
-
All products should be stored in firestore, you should store the following information:
- Quantity
- Variants (could be colors, sizes, etc)
- Price per unit
- Name
- Image url
- Members item (boolean)
-
All data should be stored in firestore and fetched by the frontend, there should be NO static product data in the react application
- Using firestore and react create a cart system
- Create a cart page in your react app
- Add logic to prevent users from adding items to cart that are no longer in stock
- You will have to check the current cart and the product quantity
- Cart page should have the following:
- List of products in cart
- ability to change quantity of products in cart
- ability to remove entries from cart