Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aayush259/product-listing-with-cart
This project is a frontend implementation of a dessert shop application focusing on product listing and cart management functionalities. It replicates core features found in e-commerce platforms like Amazon or Flipkart, showcasing how products are displayed and managed within a shopping cart 🛒.
https://github.com/aayush259/product-listing-with-cart
cart-management context-api product-listing react reactcontextapi reactjs tailwind-css tailwindcss
Last synced: 9 days ago
JSON representation
This project is a frontend implementation of a dessert shop application focusing on product listing and cart management functionalities. It replicates core features found in e-commerce platforms like Amazon or Flipkart, showcasing how products are displayed and managed within a shopping cart 🛒.
- Host: GitHub
- URL: https://github.com/aayush259/product-listing-with-cart
- Owner: Aayush259
- Created: 2024-07-14T04:18:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T18:16:36.000Z (4 months ago)
- Last Synced: 2024-07-18T15:11:39.381Z (4 months ago)
- Topics: cart-management, context-api, product-listing, react, reactcontextapi, reactjs, tailwind-css, tailwindcss
- Language: JavaScript
- Homepage: https://aayush259.github.io/Product-listing-with-cart/
- Size: 4.84 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍰 Dessert Shop - Product Listing and Cart Management
This project is a frontend implementation of a dessert shop application focusing on product listing and cart management functionalities. It replicates core features found in e-commerce platforms like Amazon or Flipkart, showcasing how products are displayed and managed within a shopping cart 🛒.
## 🌟 Features
- **Product Listing:** Displays a variety of desserts fetched from a JSON data source.
- **Cart Management:** Allows users to add, remove, and views items in the cart.
- **Order Confirmation:** Provides a streamlined checkout process with an order confirmation window.## 🛠️ Technologies Used
- React
- Tailwind CSS 🌈
- Context API## 📝 Implementation Details
### Product Listing
The `DessertContainer` components fetches dessert data dynamically from a JSON file and renders each dessert item using the `DessertCard` component. It employs responsive design principles to optimize display across different screen sizes.
### Cart Management
The `Cart` component manages cart items (`cartItems`) and calculates the total order price (`totalOrderPrice`). Users can add or remove items from the cart, and upon order confirmation, the cart state is reset.
### User Interaction
- *AddToCartButton* allows users to increment or decrement item quantities in the cart.
- *OrderConfirmedWindow* displays a confirmation message after the order is placed, with options to start a new order.## 🖼️ Screenshots
![Cart Management](./screenshots/s-1.png)
![Order Confirmation](./screenshots/s-2.png)## 🎉 Credits
This project is inspired by the [Frontend Mentor](https://www.frontendmentor.io/) challenge, focusing on frontend development skills and best practices.
## 📬 Feedback and Suggestions
Your feedback is valuable! If you have any suggestions, ideas, or improvements for this project, please feel free to open an issue or submit a pull request. Your contributions are welcomed and appreciated 🚀.