React Shopping Store Website
A fully functional e-commerce frontend built with React. This project allows users to browse products, view details, and manage a shopping cart in a responsive and visually appealing interface.
π Live Demo
π Folder Structure
React-Shopping-store-website/
βββ package.json
βββ public/
β βββ _redirects
β βββ index.html
βββ src/
β βββ App.jsx
β βββ index.js
β βββ assets/
β β βββ styles/
β β β βββ index.scss
β β β βββ components/
β β β β βββ _shopCard.scss
β β β βββ global/
β β β βββ _fonts.scss
β β β βββ _loader.scss
β β β βββ _reset.scss
β β β βββ _scrollbar.scss
β β β βββ _swal.scss
β β β βββ _swiper.scss
β βββ components/
β β βββ common/
β β β βββ Loading.jsx
β β β βββ Products.jsx
β β βββ Layout/
β β βββ Header.js
β β βββ index.js
β βββ contexts/
β β βββ CardContextProvider.js
β β βββ ProductContextProvider.js
β βββ helper/
β β βββ functions.js
β βββ pages/
β β βββ product-details/
β β β βββ index.jsx
β β β βββ components/
β β β βββ Banner.jsx
β β β βββ ProductDetailsSkeleton.jsx
β β β βββ ProductInfo.jsx
β β βββ products/
β β β βββ index.jsx
β β βββ shopping-card/
β β βββ index.jsx
β β βββ components/
β β βββ BackLink.jsx
β β βββ Card.jsx
β β βββ CartList.jsx
β β βββ EmptyCartState.jsx
β β βββ OrderSummary.jsx
β β βββ StatRow.jsx
β β βββ SuccessCartState.jsx
β βββ services/
β β βββ getAllProducts.js
β β βββ getSingleProducts.js
β β βββ http.js
πΌοΈ Project Screenshots

π Description
This React application consumes a product API and allows users to:
- View a list of products
- Inspect detailed information for each item
- Add/remove products to/from a shopping cart
- See a summary of cart totals
The app uses context providers for state management and makes HTTP requests through a centralized service module.
π οΈ Technologies
- React (Functional components with hooks)
- Context API for global state
- SCSS & MUI for styling
- Custom services for data fetching
π¦ Installation
npm install
npm start
β¨ Contribution
Feel free to open issues or submit pull requests to improve the project.
Developed by Parham Abolghasemi