Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

devamir99/fakestore-app

Open more actions menu

Repository files navigation

devamir — Storefront Demo

A minimal, responsive e-commerce storefront built with React and Vite. Designed as a live portfolio demo by Amir Fallahi — browse products, save favourites, manage a cart, and walk through a three-step checkout flow.

Live demo: devamir99.github.io/fakestore-app

Screenshots

Home — dark & light

devamir home page in dark mode

Home page · dark theme

devamir home page in light mode

Home page · light theme

Product detail — dark & light

devamir product detail page in dark mode

Product detail · dark theme

devamir product detail page in light mode

Product detail · light theme

Features

  • Product catalogue with search, category, price, and rating filters
  • Product detail pages with related items
  • Shopping cart with persistent local storage
  • Favourites / wishlist
  • Three-step checkout (front-end demo — no real payments)
  • Dark and light themes
  • Cream-and-coffee visual identity
  • Mobile-first responsive layout

Tech stack

  • React 19 · Vite 7 · Tailwind CSS 4
  • React Router 7
  • Local JSON product data (no external API dependency)

Getting started

git clone https://github.com/devamir99/fakestore-app.git
cd fakestore-app
npm install
npm run dev

Open http://localhost:5173.

Environment variables

Copy env.example to .env and optionally set:

Variable Purpose
VITE_SITE_URL Production URL for Open Graph meta tags

Scripts

Command Description
npm run dev Start development server
npm run build Production build
npm run preview Preview production build locally
npm run lint Run ESLint

Deploy to GitHub Pages

This project is configured for GitHub Pages via GitHub Actions (.github/workflows/deploy-pages.yml).

  1. Push to the main branch (or run the workflow manually)
  2. In the repo: Settings → Pages → Source → GitHub Actions
  3. After the workflow succeeds, open:
    https://devamir99.github.io/fakestore-app

Vite base is set to /fakestore-app/ for project-site hosting. The build also copies index.html404.html so SPA routes work on refresh.

Custom builds

This repository is a demonstration storefront. For a production-ready shop tailored to your brand, catalogue, and backend:

License

MIT — see LICENSE.

About

A responsive e-commerce demo application built with React, TailwindCSS, and React Router. Users can browse products from the Fake Store API , view product details, and manage their favorite items using React Context. The project demonstrates CRUD operations, API integration, dynamic routing, and state management in a modern React environment.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.