Your go-to destination for the latest and greatest gadgets! 🚀
GadgetHeaven is an e-commerce platform where you can easily browse and purchase new and modern gadgets.
- React Components: Reusable components like
Navbar
,Footer
,ProductCard
, etc. - State Management: Managed state efficiently using React's
useState
anduseReducer
. - Props: Passed data between parent and child components for better reusability.
- React Router: Used
react-router-dom
for seamless navigation between pages. - Context API: Managed cart and wishlist globally without prop drilling.
- Context API: Used for managing cart and wishlist functionality globally.
- LocalStorage: For data persistence, ensuring cart and wishlist data are retained even after page reload.
-
Shopping Cart:
- Add/remove items to/from the cart.
- View total cost dynamically.
- Sort items by price.
-
Wishlist System:
- Add/remove items to/from the wishlist.
- Prevent duplicate entries.
-
Product Filtering:
- Filter products by categories, price ranges, and popularity.
-
Product Details Page:
- Detailed information for each product, including images, descriptions, and prices.
-
User-Friendly Interface:
- Mobile responsive design.
- Smooth navigation with React Router.
- Edge case handling (e.g., empty cart or wishlist).
- Clone the repository:
git clone https://github.com/MxAziz/Gadget-Heaven.git
cd gadgetheaven
npm install
npm start