How mishraankit-1497/ecommerce-app works
This is a React/Redux ecommerce storefront. Shoppers browse the home and shop pages, add products to a cart, proceed through checkout and PayPal payment, then view their orders; account registration and sign-in support user-specific activity. The graph separates UI, domain state, and order handling. The README documents the major storefront and payment capabilities, but several implementations (notably the shop page and PayPal component) were not sampled, so their internal connections are left unverified.
Main entry points: main.jsx Routes And Providers · sign-in.jsx Sign In Form · sign-up.jsx Sign Up Form · checkout.jsx Checkout
Components 21
Application
- Routes And Providers
src/main.jsx
Storefront
- Store Header
src/components/header/header.jsx - Home Page
src/page/home-page/home-page.component.jsx - Shop Catalog
src/page/shop-page/shop-page.jsx - Product Data
src/page/shop-page/shop-data.js
Accounts
- Authentication Page
src/page/sign-in/authentication-container.jsx - Sign In Form
src/components/sign-in/sign-in.jsx - Sign In Requests
src/features/signin/signinSlice.js - Sign Up Form
src/page/sign-up/sign-up.jsx - Sign Up Requests
src/features/signup/signup-slice.js - Auth State
src/features/auth/authSlice.js
Cart And Orders
- Cart Dropdown
src/components/cart-dropdown/cart-dropdown.jsx - Cart State
src/features/cart/cartSlice.js - Checkout
src/page/checkout/checkout.jsx - PayPal Integration
src/components/paypal/paypal.jsx - Order Requests
src/features/order/orderSlice.js - Order History
src/page/order/order.jsx - Order Card
src/components/order-card/order-card.jsx
Shared UI
- Form And Button Controls
src/components/form-input/form-input.jsx - Custom Button
src/components/custom-button/custom-button.jsx
Other components
- Shopper
Connections 26
- Shopper → Routes And Providers: opens storefront
src/main.jsx - Routes And Providers → Store Header: routes through
src/main.jsx - Routes And Providers → Home Page: routes to
src/main.jsx - Routes And Providers → Shop Catalog: routes to
src/main.jsx - Routes And Providers → Checkout: routes to
src/main.jsx - Routes And Providers → Order History: routes to
src/main.jsx - Routes And Providers → Authentication Page: routes to
src/main.jsx - Store Header → Cart Dropdown: renders
src/components/header/header.jsx - Home Page → Shopper: presents categories
src/page/home-page/home-page.component.jsx - Shop Catalog → Product Data: uses catalog
- Shop Catalog → Cart State: adds products
- Cart Dropdown → Cart State: displays cart
- Checkout → Cart State: reads cart
src/page/checkout/checkout.jsx - Checkout → Order Requests: creates order
src/page/checkout/checkout.jsx - Checkout → PayPal Integration: uses payment
- Order History → Order Requests: fetches orders
src/page/order/order.jsx - Order History → Order Card: renders orders
src/page/order/order.jsx - Authentication Page → Sign In Form: renders
src/page/sign-in/authentication-container.jsx - Authentication Page → Sign Up Form: renders
src/page/sign-in/authentication-container.jsx - Sign In Form → Sign In Requests: dispatches sign-in
src/components/sign-in/sign-in.jsx - Sign In Form → Auth State: sets user
src/components/sign-in/sign-in.jsx - Sign Up Form → Sign Up Requests: dispatches sign-up
src/page/sign-up/sign-up.jsx - Sign In Form → Form And Button Controls: renders inputs
src/components/sign-in/sign-in.jsx - Sign In Form → Custom Button: renders button
src/components/sign-in/sign-in.jsx - Sign Up Form → Form And Button Controls: renders inputs
src/page/sign-up/sign-up.jsx - Sign Up Form → Custom Button: renders button
src/page/sign-up/sign-up.jsx