How upputhotasairam369-hub/videmsfronted works
This is Orange Furniture’s customer-facing e-commerce frontend. The principal journey runs from browsing home and product listings, through product detail and cart, to checkout and order confirmation; account and wishlist support that journey. React pages and components provide the UI, Redux slices and hooks manage state and sync it, and a shared API client talks to the backend. The tree also shows inventory, payment, business/bulk-order, and informational capabilities. Edges reflect only shown route, call, or documented API relationships; unsampled feature wiring is omitted.
Main entry points: app.jsx Application routes · api.js API client · checkoutpage.jsx Checkout · usecart.js Cart operations
Components 27
Browse and discover
- Application routes
fronted/src/app.jsx - Home discovery
fronted/src/page/homepage.jsx - Home sections
fronted/src/components/home - Product catalog
fronted/src/page/allproductspage.jsx - Product detail
fronted/src/page/productpage.jsx - Product view and card
fronted/src/components/product
Cart and orders
- Cart
fronted/src/page/cartpage.jsx - Checkout
fronted/src/page/checkoutpage.jsx - Order confirmation
fronted/src/page/OrderSuccessPage.jsx
Account and saved items
- Account profile
fronted/src/page/accountpage.jsx - Login
fronted/src/page/loginpage.jsx - Wishlist
fronted/src/page/wishlist.jsx
State and services
- Cart operations
fronted/src/hooks/usecart.js - Wishlist operations
fronted/src/hooks/useWishlist.js - Product state
fronted/src/store/slices/productslice.js - Cart state
fronted/src/store/slices/cartslice.js - Wishlist state
fronted/src/store/slices/wishlistslice.js - Authentication state
fronted/src/store/slices/authslice.js - Redux store
fronted/src/store/store.js - API client
fronted/src/services/api.js - Inventory service
fronted/src/services/inventoryservices.js - Payment service
fronted/src/services/paymentservice.js
Business and information
- Business and bulk order
fronted/src/components/home - Information pages
fronted/src/page/info
Other components
- Shopper
- Commerce backend
- Postal lookup
Connections 40
- Shopper → Application routes: uses
fronted/src/app.jsx - Application routes → Home discovery: routes
fronted/src/app.jsx - Application routes → Product catalog: routes
fronted/src/app.jsx - Application routes → Product detail: routes
fronted/src/app.jsx - Application routes → Cart: routes
fronted/src/app.jsx - Application routes → Checkout: routes
fronted/src/app.jsx - Application routes → Order confirmation: routes
fronted/src/app.jsx - Application routes → Login: routes
fronted/src/app.jsx - Application routes → Account profile: routes
fronted/src/app.jsx - Application routes → Wishlist: routes
fronted/src/app.jsx - Application routes → Information pages: routes
fronted/src/app.jsx - Home discovery → Home sections: displays
- Home sections → API client: fetches content
fronted/src/components/home/Category/CategorySection.jsx - Home sections → API client: loads combinations
fronted/src/components/home/BulkOrderModal.jsx - Product catalog → Product state: dispatches fetch
fronted/src/page/allproductspage.jsx - Product detail → Product view and card: renders
fronted/src/components/product/productdetail.jsx - Product detail → Product state: uses state
- Product state → API client: requests products
fronted/src/store/slices/productslice.js - Product view and card → Cart operations: adds items
fronted/src/components/product/productdetail.jsx - Cart → Cart operations: uses cart
fronted/src/page/cartpage.jsx - Checkout → Cart operations: uses cart
fronted/src/page/checkoutpage.jsx - Checkout → API client: creates order
fronted/src/page/checkoutpage.jsx - Checkout → Postal lookup: looks up postal code
fronted/src/page/checkoutpage.jsx - Cart operations → Cart state: dispatches updates
fronted/src/hooks/usecart.js - Cart operations → API client: syncs cart
fronted/src/hooks/usecart.js - Wishlist → Wishlist operations: uses wishlist
- Wishlist operations → Wishlist state: dispatches updates
fronted/src/hooks/useWishlist.js - Wishlist operations → API client: syncs wishlist
fronted/src/hooks/useWishlist.js - Login → Authentication state: authenticates
- Account profile → Authentication state: updates profile
- Authentication state → API client: calls auth APIs
fronted/src/store/slices/authslice.js - Application routes → Authentication state: restores session
fronted/src/app.jsx - Redux store → Cart state: registers reducer
fronted/src/store/store.js - Redux store → Product state: registers reducer
fronted/src/store/store.js - Redux store → Wishlist state: registers reducer
fronted/src/store/store.js - Redux store → Authentication state: registers reducer
fronted/src/store/store.js - API client → Commerce backend: sends requests
fronted/src/services/api.js - Checkout → Payment service: payment step
- Product detail → Inventory service: checks availability
- Business and bulk order → API client: submits bulk order
fronted/src/components/home/BulkOrderModal.jsx