Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React E-Commerce

A storefront built with Create React App: browse products, manage a cart, and run through a checkout flow, with cart state held in Redux.

Stack

React 18 · Redux Toolkit · React Router · Bootstrap · React Hot Toast

Structure

src/
├── components/     Navbar, Footer, Products, ScrollToTop
├── pages/          Home, Product, Cart, Checkout, Login, Register,
│                   AboutPage, ContactPage, PageNotFound
└── redux/          cart reducer and store

ScrollToTop resets scroll position on navigation — without it, moving from a long product list to a new route lands the reader mid-page.

Running it

npm install
npm start          # http://localhost:3000
npm run build      # production bundle in build/
npm test           # CRA test runner

About

React storefront with product listing, cart, checkout and static pages, routed client-side.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages