How sumit-rajak99/charmant-e-commerce works
Charmant is a React jewelry storefront. The browser enters the routed application, browses the home or shop experience, opens product details, and can proceed through order submission to an invoice. The app also exposes contact and account screens. The sampled code shows local-storage credential checks and an order POST to a local service; no persistent product or order store is present in the repository. Several screens are required by the route table but their implementations were not sampled, so their internal behavior is not inferred.
Main entry points: App.jsx Route application · Buy.jsx Shipping and order · Details.jsx Product details · Layout.jsx Shared layout
Components 17
App shell
- Route application
src/App.jsx - Shared layout
src/Component/Layout.jsx - Site header
src/Component/Header.jsx - Site footer
src/Component/Footer.jsx - Browser entry
src/main.jsx
Storefront
- Home and collections
src/Component/Home.jsx - Image motion grid
src/GridMotion.jsx - Product catalog
src/Component/Shop.jsx - Product details
src/Component/Details.jsx
Order flow
- Shipping and order
src/Component/Buy.jsx - Invoice
src/Component/Invoice.jsx
Account and contact
- Contact form
src/Component/Contact.jsx - Login
src/Component/Login.jsx - Sign up
src/Component/Sing.jsx - Browser credentials
Other components
- Shopper
- Order service
Connections 20
- Shopper → Browser entry: opens storefront
src/main.jsx - Browser entry → Route application: renders
src/main.jsx - Route application → Shared layout: routes through
src/App.jsx - Route application → Home and collections: routes to
src/App.jsx - Route application → Product catalog: routes to
src/App.jsx - Route application → Contact form: routes to
src/App.jsx - Route application → Login: routes to
src/App.jsx - Route application → Sign up: routes to
src/App.jsx - Route application → Product details: routes to
src/App.jsx - Route application → Shipping and order: routes to
src/App.jsx - Route application → Invoice: routes to
src/App.jsx - Shared layout → Site header: renders
src/Component/Layout.jsx - Shared layout → Site footer: renders
src/Component/Layout.jsx - Home and collections → Image motion grid: renders
src/Component/Home.jsx - Home and collections → Product details: navigates with product
src/Component/Home.jsx - Product catalog → Product details: navigates with product
src/Component/Shop.jsx - Product details → Shipping and order: links to purchase
src/Component/Details.jsx - Shipping and order → Order service: posts order
src/Component/Buy.jsx - Shipping and order → Invoice: navigates with response
src/Component/Buy.jsx - Login → Browser credentials: reads
src/Component/Login.jsx