Skip to content

A sleek platform to discover, compare, and manage the latest gadgets, making tech shopping effortless and enjoyable.

Notifications You must be signed in to change notification settings

ornobaadi/Gadget-Heaven

Repository files navigation

Gadget Heaven Mockup

🚀 Gadget Heaven 🌌

Gadget Heaven is a cutting-edge e-commerce platform that allows users to browse, manage, and purchase the latest gadgets. Built with React and enhanced with efficient data handling techniques, it offers a seamless shopping experience with dynamic UI interactions and persistent user data.


🌐 Live Demo


⚛️ React Concepts in Action

This project integrates core React functionalities to ensure a smooth and responsive user experience:

  • Components: Modular, reusable components for a clean architecture.
  • State Management: Dynamic UI updates using useState for managing local component states.
  • Effect Hook: useEffect for fetching gadget data and handling side effects.
  • Conditional Rendering: Displaying UI elements based on user interactions and state conditions.
  • Event Handling: Interactive features like adding/removing items from Cart and Wishlist.

💾 Data Handling & Management

  • 📦 Local Storage: Persistent storage for Cart and Wishlist data across sessions, ensuring user preferences are retained even after a page refresh.
  • 🌍 Context API: Centralized global state management to seamlessly share data across components without prop drilling.

🌟 Key Features

  1. 🛒 Add to Cart & Wishlist

    • Easily add gadgets to your Cart or Wishlist. Duplicate checks ensure items aren’t added more than once.
  2. 🔄 Real-Time Updates

    • Dynamic updates to Cart and Wishlist indicators in the navbar as items are added or removed.
  3. 📊 Sorting Functionality

    • Sort Cart items by price to quickly view high-value or budget-friendly gadgets.
  4. 💳 Purchase Modal with Summary

    • A detailed modal appears during checkout, summarizing the total cost and providing a confirmation message.
  5. 💾 Persistent Storage

    • Your Cart and Wishlist are saved in local storage, allowing you to pick up right where you left off on your next visit.

🛠️ Tech Stack

  • Frontend: React, Tailwind CSS
  • State Management: React Context API, Local Storage
  • Notifications: React Hot Toast for real-time feedback
  • Icons & UI Enhancements: Lucide React for icons, Framer Motion for animations

🚀 Getting Started

Follow these steps to run Gadget Heaven locally:

  1. Clone the Repository

    git clone https://github.com/ornobaadi/Gadget-Heaven.git
  2. Navigate to the Project Directory

    cd Gadget-Heaven
  3. Install Dependencies

    npm install
  4. Run the Development Server

    npm run dev
  5. Open in Browser

    Go to http://localhost:5173 to view the app.


💡 Future Enhancements

  • 🔍 Advanced Search Filters: Allow users to search for gadgets by specifications like brand, price range, or features.
  • 🌐 API Integration: Connect with external APIs for real-time gadget updates and pricing.
  • 🛡️ User Authentication: Add user accounts for personalized experiences and secure order tracking.

👨‍💻 Developer

Developed with ❤️ by Ornob Aadi.


🎉 Enjoy your journey through Gadget Heaven and discover the latest tech wonders! 🚀🔌

About

A sleek platform to discover, compare, and manage the latest gadgets, making tech shopping effortless and enjoyable.

Topics

Resources

Stars

Watchers

Forks