Skip to content

pupsao/product-catalog

Repository files navigation

📱 Product Catalog – Phones, Tablets & Accessories

React TypeScript Vite SASS ESLint

📌 About the Project

A modern and responsive product catalog web application that allows users to seamlessly browse and search for phones, tablets, and accessories. Built with a strong emphasis on high performance, scalable architecture, and a clean UI/UX.

🔗 Live Demo: Product Catalog Frontend


🎯 Project Overview

This is a modern e-commerce application featuring:

  • Comprehensive Product Catalog: Browse phones, tablets, and accessories.
  • Shopping Cart: Add, remove, and manage items before checkout.
  • Favorites List: Save items for later.
  • Detailed Views: Dedicated product detail pages with full specifications.
  • Responsive Design: Fully optimized for desktop, tablet, and mobile devices.

🚀 Tech Stack

Frontend Core

Code Quality & Tooling

  • ESLint: Code linting (plugins for React, TypeScript, a11y, imports)
  • Prettier: Consistent code formatting
  • Husky: Git pre-commit hooks
  • lint-staged: Runs linters only on staged files

🛠️ Getting Started

Prerequisites

  • Node.js: v20.x or higher
  • npm: Package manager

Product Model Example:

TypeScript

interface Product {
  id: string;        // Unique identifier
  name: string;      // Full product name
  image: string;     // Relative path to image
  price: number;     // Current selling price
  fullPrice: number; // Original price (used to calculate discount)
  year: number;      // Release year (for "Newest" sorting)
  capacity: string;  // Storage capacity (e.g., "64GB")
  color: string;     // Device color (e.g., "Space Gray")
}

Installation

  1. Clone the repository
    git clone [https://github.com/product-catalog-frontend/product-catalog-frontend.git](https://github.com/product-catalog-frontend/product-catalog-frontend.git)
    cd product-catalog-frontend
    
  2. Install dependencies
npm install

Start the development server:

npm run dev

📍 The application will be available at http://localhost:5173

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors