Skip to content

Urban Footwear is a responsive React + Vite frontend for a mock e‑commerce shoe store. It showcases a dynamic product carousel, a persistent shopping cart (via localStorage), and a mobile‑first design. Built with React Hooks, Context API, and modular CSS, it’s a great portfolio piece for modern frontend skills.

Notifications You must be signed in to change notification settings

goutam-dev/shoe-web

Repository files navigation

Shoe Website

License: MIT

A responsive, single‑page e‑commerce frontend for Urban Footwear built with React and Vite. Browse featured shoes, add them to your cart, and checkout—all while enjoying fast load times and a mobile‑first design.


Table of Contents

  1. Demo
  2. Features
  3. Tech Stack & Prerequisites
  4. Getting Started
  5. Project Structure
  6. Usage
  7. Contributing
  8. License
  9. Author

Demo

Home Screen
Product Carousel
Cart View


Features

  1. Responsive Design

    • Mobile-first UI that adapts seamlessly from phones to large desktops.
  2. Product Showcase

    • Interactive carousel powered by react-responsive-carousel.
    • Data loaded from local JSON files in /src/data.
  3. Shopping Cart

    • Add, remove, and update quantities with a single click.
    • Persists across page reloads via localStorage.
  4. Checkout Flow

    • Simple form collects name, address, and email.
    • Order confirmation popup on submit.
  5. Scalable Architecture

    • Hooks & Context API for state management.
    • Modular CSS per component for maintainability.

Tech Stack & Prerequisites

  • React v18.3.1
  • Vite v4.3.4 (build tool with lightning‑fast HMR)
  • react-responsive-carousel v3.2.23
  • react-router-dom v7.5.0
  • Node.js ≥16.x & npm ≥8.x

Getting Started

Clone & Install

# Clone the repo
git clone https://github.com/<your-username>/shoe-website.git
cd shoe-website

# Install dependencies
npm install

Available Scripts

Script Description
npm run dev Start Vite development server (http://localhost:5173)
npm run build Build for production into dist/
npm run preview Preview the production build locally
npm run lint Run ESLint across all source files

Project Structure

shoe-website/
├─ public/                  # Static assets & images
├─ src/
│  ├─ assets/               # Banners, feature images, logos
│  ├─ components/
│  │  ├─ Header/            # Navbar & logo
│  │  ├─ Home/              # Landing page content
│  │  ├─ FeaturedProductsCarousel/
│  │  ├─ ProductPage/
│  │  ├─ DetailedProductPage/
│  │  ├─ Reviews/
│  │  ├─ Footer/
│  │  └─ (…)
│  ├─ data/                 # `featured-products.json`, `products.json`, `reviews.json`
│  ├─ App.jsx
│  ├─ main.jsx
│  └─ index.css
├─ eslint.config.js
├─ index.html
├─ package.json
└─ vite.config.js

Usage

  1. Start Dev Server
    npm run dev
  2. Build for Production
    npm run build
  3. Preview Production Build
    npm run preview

License

This project is licensed under the MIT License.


About

Urban Footwear is a responsive React + Vite frontend for a mock e‑commerce shoe store. It showcases a dynamic product carousel, a persistent shopping cart (via localStorage), and a mobile‑first design. Built with React Hooks, Context API, and modular CSS, it’s a great portfolio piece for modern frontend skills.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published