8000 GitHub - hasanRafi2002/GadgetHeaven: Gadget Heaven [https://polite-sawine-712dc5.netlify.app/] A modern e-commerce platform Built with the MERN stack (MongoDB, Express.js, React.js, and Node.js), for premium gadgets and electronics, featuring an intuitive interface for browsing, shopping, and managing purchases.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gadget Heaven [https://polite-sawine-712dc5.netlify.app/] A modern e-commerce platform Built with the MERN stack (MongoDB, Express.js, React.js, and Node.js), for premium gadgets and electronics, featuring an intuitive interface for browsing, shopping, and managing purchases.

Notifications You must be signed in to change notification settings

hasanRafi2002/GadgetHeaven

Repository files navigation

GadgetHeaven✨

Live Demo

Visit GadgetHeaven

A modern e-commerce platform for premium gadgets and electronics, featuring an intuitive interface for browsing, shopping, and managing purchases.

GadgetHeaven Screenshot

Technologies Used

  • Frontend Framework: React.js with Vite
  • State Management: Context API
  • Routing: React Router DOM
  • Styling: Tailwind CSS
  • Data Persistence: Local Storage
  • UI Components: Headless UI
  • Toast Notifications: React Hot Toast
  • Charts: Recharts

Core Features

  • Dynamic category-based product filtering with nested routing
  • Persistent shopping cart and wishlist functionality
  • Interactive product details with add to cart/wishlist capabilities
  • Dashboard with sortable cart items and wishlist management
  • Dynamic background colors based on current route
  • Statistical visualization of product prices and ratings
  • Toast notifications for user actions
  • Purchase flow with congratulatory modal

Dependencies

{
  "dependencies": {
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.x",
    "tailwindcss": "^3.x",
    "@headlessui/react": "^1.x",
    "react-hot-toast": "^2.x",
    "recharts": "^2.x"
  },
  "devDependencies": {
    "@vitejs/plugin-react": "^4.x",
    "autoprefixer": "^10.x",
    "postcss": "^8.x",
    "vite": "^4.x"
  }
}

Local Setup Guide

  1. Clone the Repository

    git clone [your-repository-url]
    cd gadget-heaven
  2. Install Dependencies

    npm install
  3. Set Up Environment Variables

    cp .env.example .env
    # Configure your environment variables
  4. Run Development Server

    npm run dev
  5. Build for Production

    npm run build
    npm run preview

Project Structure

Key Components

  1. Navigation Bar

      Logo and brand name
    • Dashboard and Stats navigation
    • Active route highlighting
    • Cart badge with item count
  2. Home Page

    • Dynamic banner with CTA
    • Category sidebar (computers, phones, smartwatches, etc.)
    • Product grid with detailed cards
    • Responsive footer
  3. Product Details

    • Comprehensive product information
    • Add to cart/wishlist functionality
    • Real-time inventory status
  4. Dashboard

    • Cart management with price sorting
    • Wishlist organization
    • Purchase flow with modal
    • Total price calculation

Data Management

  • Context API for global state management
  • LocalStorage for data persistence
  • Cart value limit implementation
  • Wishlist duplication prevention

React Fundamentals Used

  • Custom hooks for data fetching and state management
  • Context API for global state
  • React Router for navigation
  • useLocation for dynamic styling
  • useNavigate for programmatic navigation
  • Custom error boundaries
  • Component composition
  • Proper prop drilling prevention

Additional Information

License

This project is private and part of an assignment. All rights reserved.# GadgetHeaven-

About

Gadget Heaven [https://polite-sawine-712dc5.netlify.app/] A modern e-commerce platform Built with the MERN stack (MongoDB, Express.js, React.js, and Node.js), for premium gadgets and electronics, featuring an intuitive interface for browsing, shopping, and managing purchases.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0