{"id":21353614,"url":"https://github.com/pawantech12/dynamic-ecommerce-cart","last_synced_at":"2026-04-16T15:02:00.808Z","repository":{"id":260861817,"uuid":"882304953","full_name":"pawantech12/dynamic-ecommerce-cart","owner":"pawantech12","description":"A responsive and dynamic shopping cart built with React and Tailwind CSS, featuring real-time price calculations with a 10% discount, quantity adjustments, and a confirmation modal for item deletion. This project demonstrates a smooth and interactive cart experience with scalable UI components.","archived":false,"fork":false,"pushed_at":"2024-11-03T05:17:38.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T05:13:42.074Z","etag":null,"topics":["api","ecommerce-cart","ecommerce-website","fakest","product-listing","reactjs","shopping-cart","tailwindcs"],"latest_commit_sha":null,"homepage":"https://dynamic-ecommerce-cart.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawantech12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-02T13:17:52.000Z","updated_at":"2024-12-13T20:28:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c0916b8-05d2-4b75-aef2-be931f0f17a3","html_url":"https://github.com/pawantech12/dynamic-ecommerce-cart","commit_stats":null,"previous_names":["pawantech12/dynamic-ecommerce-cart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pawantech12/dynamic-ecommerce-cart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawantech12%2Fdynamic-ecommerce-cart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawantech12%2Fdynamic-ecommerce-cart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawantech12%2Fdynamic-ecommerce-cart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawantech12%2Fdynamic-ecommerce-cart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawantech12","download_url":"https://codeload.github.com/pawantech12/dynamic-ecommerce-cart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawantech12%2Fdynamic-ecommerce-cart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","ecommerce-cart","ecommerce-website","fakest","product-listing","reactjs","shopping-cart","tailwindcs"],"created_at":"2024-11-22T03:18:43.336Z","updated_at":"2026-04-16T15:02:00.763Z","avatar_url":"https://github.com/pawantech12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛒 Shopping Cart Project\n\nA responsive and interactive shopping cart application built with **React** and **Tailwind CSS**. This project demonstrates a fully functional cart system where users can view items, adjust quantities, and see real-time pricing updates with a 10% discount applied at checkout. It also includes a confirmation modal for item removal, ensuring a seamless user experience.\n\n\n\n## ✨ Features\n\n- **Responsive Design**: Adapts to various screen sizes, including desktop, tablet, and mobile.\n- **Interactive Cart System**: Add, remove, and update item quantities dynamically.\n- **Total and Discounted Price Calculation**: Shows real-time updates for total price and discounted price with a 10% discount.\n- **Delete Confirmation Modal**: Provides a modal to confirm item deletion from the cart for improved user experience.\n- **Optimized Animations**: Smooth hover effects, scaling, and transitions for an engaging UI.\n\n\n## 🎬 Demo\n\nCheck out a live version of the project: [Live Demo](https://dynamic-ecommerce-cart.vercel.app/)  \n\n## ⚙️ Installation\n\n1. **Clone the repository**:\n   ```bash\n\n   git clone https://github.com/pawantech12/dynamic-ecommerce-cart.git\n   cd dynamic-ecommerce-cart\n\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Run the project**:\n   ```bash\n   npm run dev\n   ```\n\n4. **Build the project** for production:\n   ```bash\n   npm run build\n   ```\n\n\n## 🚀 Usage\n\n1. **View Items**: Items are displayed in a scrollable cart format, each showing an image, title, price, and quantity.\n2. **Update Quantity**: Use `+` and `-` buttons to adjust quantities for each item.\n3. **Delete Item**: Click on the trash icon to delete an item. A confirmation modal will appear to ensure the action.\n4. **View Price Calculations**: The total price and discounted price are dynamically updated as items are added, removed, or quantities are changed.\n\n\n## 🗂️ Project Structure\n\n```plaintext\npublic/\n├── logo.png\nsrc/\n├── components/\n│   ├── Loader.jsx       \n│   └── Navbar.jsx\n├── pages/\n|   ├── Cart.jsx\n|   └── Products.jsx\n├── context/\n│   └── CartContext.jsx    # Provides cart state and actions\n└── App.jsx                # Entry point and main app structure\n```\n\n\n## 🛠️ Technologies Used\n\n- **React**: JavaScript library for building user interfaces.\n- **Tailwind CSS**: Utility-first CSS framework for rapid UI development.\n- **React Icons**: Library for including icons like `BsPlus`, `BsTrash`, and `HiMiniMinusSmall`.\n- **Context API**: Provides global state management for cart items.\n\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests for improvements.\n\n### Steps to Contribute:\n\n1. Fork the repository.\n2. Create your branch: `git checkout -b my-feature`.\n3. Commit your changes: `git commit -m 'Add a new feature'`.\n4. Push to the branch: `git push origin my-feature`.\n5. Open a pull request.\n\n\n## 📧 Contact\n\nFor questions or collaborations, please reach out via [pawankumavat042@gmail.com](mailto:pawankumavat042@gmail.com)  \nOr check out more of my work on [GitHub](https://github.com/pawantech12)\n\n### 🌟 Acknowledgments\n\nThanks to the developers and designers who contributed to the React, Tailwind CSS, and React Icons libraries, which made this project possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawantech12%2Fdynamic-ecommerce-cart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawantech12%2Fdynamic-ecommerce-cart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawantech12%2Fdynamic-ecommerce-cart/lists"}