How bavlywagih/bavly-ecommerce works
Bavly Ecommerce is an under-development Next.js storefront. A visitor reaches the home page, which renders top and bottom header components; the bottom header fetches product categories from DummyJSON for its category menu. The root layout supplies document metadata and global styling. Search, wishlist, cart, and account links appear as interface elements, but the sampled code does not show their result workflows. The graph reflects the sampled UI and documented product scope, not an implemented commerce backend.
Main entry points: page.tsx Home page · BtmHeader.tsx Bottom header · TopHeader.tsx Top header · header.module.css Header styles
Components 8
App shell
- Home page
app/page.tsx - Root layout
app/layout.tsx - Global styles
app/globals.css
Storefront UI
- Top header
component/header/TopHeader.tsx - Bottom header
component/header/BtmHeader.tsx - Header styles
component/header/header/header.module.css
Other components
- Visitor
- Category service
Connections 7
- Visitor → Home page: requests
- Home page → Top header: renders
app/page.tsx - Home page → Bottom header: renders
app/page.tsx - Root layout → Global styles: imports
app/layout.tsx - Bottom header → Category service: fetches categories
component/header/BtmHeader.tsx - Top header → Header styles: imports styles
component/header/TopHeader.tsx - Bottom header → Header styles: imports styles
component/header/BtmHeader.tsx