How sangamithra153/redux-website works
This is a small React fashion storefront: shoppers browse a category landing page, open men’s, women’s, or kids’ collections, add or adjust products, and review or clear the cart. Routing and the shared Redux store form the core internal layer. The source excerpts establish the app shell, navigation, category landing page, cart, and product-card interactions; collection-page implementations, product data, and reducer/store internals were not sampled, so those links are shown only where imports establish them.
Main entry points: App.jsx Route shell · Men1.jsx Men collection · Kids1.jsx Kids collection · ProductCard.jsx Product card
Components 17
Storefront UI
- Route shell
src/App.jsx - Navigation
src/component/Navbar.jsx - Category landing
src/component/Categorysection.jsx
Catalog
- Men collection
src/assets/Pages/Men1.jsx - Women collection
src/assets/Pages/Women1.jsx - Kids collection
src/assets/Pages/Kids1.jsx - Men products
src/assets/Data/Mens.js - Women products
src/assets/Data/Womens.js - Kids products
src/assets/Data/Kids.js - Product card
src/component/ProductCard.jsx - Product data sample
src/component/Product.js
Cart state
- Cart view
src/component/Cart.jsx - Cart reducer
src/assets/Redux1/Cartslice.js - Redux store
src/assets/Redux1/Store.js - Store provider
src/main.jsx - Redux example UI
src/component/Reduxweb.jsx
Other components
- Shopper
Connections 20
- Shopper → Route shell: opens storefront
- Route shell → Navigation: renders
src/App.jsx - Route shell → Category landing: routes home
src/App.jsx - Route shell → Men collection: routes /mens
src/App.jsx - Route shell → Women collection: routes /womens
src/App.jsx - Route shell → Kids collection: routes /kids
src/App.jsx - Route shell → Cart view: routes /cart
src/App.jsx - Category landing → Men collection: links /mens
src/component/Categorysection.jsx - Category landing → Kids collection: links /kids
src/component/Categorysection.jsx - Store provider → Redux store: provides store
src/main.jsx - Store provider → Route shell: wraps
src/main.jsx - Navigation → Cart reducer: selects count
src/component/Navbar.jsx - Product card → Cart reducer: dispatches item changes
src/component/ProductCard.jsx - Cart view → Cart reducer: reads and dispatches
src/component/Cart.jsx - Men collection → Men products
- Women collection → Women products
- Kids collection → Kids products
- Men collection → Product card
- Women collection → Product card
- Kids collection → Product card