How untangled-it-solutions/untangled-frontend works
Untangled IT Solution Shop is a storefront for business IT products, refurbished devices, software and services. Customers browse or select products, manage a cart or quote list, then submit an order or quote request; quote tracking is a separate return workflow. The frontend also presents support, solutions and product-selection guidance. The README documents a Node API and JSON persistence. Edges reflect shown imports, calls and documented API routes; source for some page and server internals was not excerpted, so those details are kept at subsystem level.
Main entry points: App.tsx App routing · store-context.tsx Cart and quote state · api.ts API client · header.tsx Navigation
Components 21
Storefront experience
- App routing
src/App.tsx - Navigation
src/components/header.tsx - Home
src/pages/home.tsx - Product guidance
src/pages/help-me-choose.tsx - Support services
src/pages/support.tsx - IT solutions
src/pages/solutions.tsx - Theme state
src/context/ThemeContext.tsx
Catalog and selection
- Product catalog
src/lib/store-data.ts - Catalog definitions
src/lib/catalog.ts - Products
src/pages/products.tsx - Refurbished devices
src/pages/refurbished.tsx - Software services
src/pages/software.tsx
Quotes and orders
- Cart and quote state
src/lib/store-context.tsx - Shopping cart
src/pages/cart.tsx - Quote request
src/pages/quote.tsx - Checkout
src/pages/checkout.tsx - Quote tracking
src/pages/track-quote.tsx
API and persistence
- API client
src/lib/api.ts - Node API
server/index.js - JSON persistence
server/data
Other components
- Customer
Connections 33
- Customer → App routing: uses
README.md - App routing → Navigation: renders
src/App.tsx - App routing → Home: routes to
src/App.tsx - App routing → Products: routes to
src/App.tsx - App routing → Refurbished devices: routes to
src/App.tsx - App routing → Software services: routes to
src/App.tsx - App routing → Support services: routes to
src/App.tsx - App routing → IT solutions: routes to
src/App.tsx - App routing → Product guidance: routes to
src/App.tsx - App routing → Shopping cart: routes to
src/App.tsx - App routing → Checkout: routes to
src/App.tsx - App routing → Quote request: opens
src/App.tsx - App routing → Quote tracking: routes to
src/App.tsx - Navigation → Cart and quote state: reads counts
src/components/header.tsx - Navigation → Theme state: reads theme
src/components/header.tsx - App routing → Cart and quote state: provides state
src/App.tsx - Products → Cart and quote state: uses
src/pages/products.tsx - Products → Product catalog: reads products
src/pages/products.tsx - Refurbished devices → Cart and quote state: uses
src/pages/refurbished.tsx - Refurbished devices → Product catalog: reads products
src/pages/refurbished.tsx - Software services → Catalog definitions: reads catalog
src/pages/software.tsx - Support services → Catalog definitions: reads catalog
src/pages/support.tsx - IT solutions → Catalog definitions: reads catalog
src/pages/solutions.tsx - Product guidance → Cart and quote state: uses
src/App.tsx - Cart and quote state → Product catalog: loads products
src/lib/store-context.tsx - Shopping cart → Cart and quote state: uses
src/pages/cart.tsx - Checkout → Cart and quote state: uses
src/pages/checkout.tsx - Quote request → Cart and quote state: uses
src/pages/quote.tsx - Quote request → API client: submits quote
src/pages/quote.tsx - Checkout → API client: submits order
src/pages/checkout.tsx - Quote tracking → API client: tracks quote
src/pages/track-quote.tsx - API client → Node API: calls HTTP routes
README.md - Node API → JSON persistence: persists records
README.md