How souravo2/assignment-07 works
Bazardor is a Bengali market-price browsing application. Visitors enter through the shared navigation or homepage, browse overall and price-change product lists or a category, then open a product for market-level price details. Product listings and the marquee fetch product data from external APIs; category browsing uses a separate category-filtered endpoint. The excerpts do not establish data sources for every homepage section, so those links are omitted. The README is empty, and no authentication or persistence implementation is evidenced.
Main entry points: ProductDetail.ts Product Data Type · page.tsx Homepage Route · ProductCard.tsx Product Card · Navbar.tsx Navbar
Components 22
Site Navigation
- App Layout
src/app/layout.tsx - Navbar
src/components/Navbar/Navbar.tsx - Nav Links
src/components/Navbar/Navlinks.tsx - Category Items
src/components/Navbar/NavItems.tsx - Date Display
src/components/Navbar/DateDisplay.tsx - Price Marquee
src/components/Navbar/Marquee.tsx
Product Browsing
- Homepage Route
src/app/page.tsx - Homepage Hero
src/components/homvepage/Hero.tsx - Price Increases
src/components/homvepage/PriceUp.tsx - Price Decreases
src/components/homvepage/PriceDown.tsx - All Products
src/components/homvepage/AllProduct.tsx - Category Route
src/app/category/[categoryId]/page.tsx - Category Listing
src/components/shared/CategoryContent.tsx - Product Card
src/components/shared/ProductCard.tsx
Price Details
- Product Route
src/app/products/[id]/page.tsx - Product Content
src/components/shared/ProductContent.tsx - Market Price Detail
src/components/shared/ProductDetailCard.tsx
Domain Types
- Product Data Type
src/types/ProductDetail.ts - Category Data Type
src/types/CategoryType.ts
Other components
- Visitor
- Product API
- Category API
Connections 28
- Visitor → Homepage Route: opens
src/app/page.tsx - App Layout → Navbar: renders
src/app/layout.tsx - Navbar → Date Display: renders
src/components/Navbar/Navbar.tsx - Navbar → Nav Links: renders
src/components/Navbar/Navbar.tsx - Navbar → Price Marquee: renders
src/components/Navbar/Navbar.tsx - Nav Links → Category Items: renders
src/components/Navbar/Navlinks.tsx - Homepage Hero → Date Display: renders
src/components/homvepage/Hero.tsx - Homepage Route → Homepage Hero: renders
src/app/page.tsx - Homepage Route → Price Increases: renders
src/app/page.tsx - Homepage Route → Price Decreases: renders
src/app/page.tsx - Homepage Route → All Products: renders
src/app/page.tsx - Price Marquee → Product API: fetches
src/components/Navbar/Marquee.tsx - Price Decreases → Product API: fetches
src/components/homvepage/PriceDown.tsx - Category Route → Category Listing: renders
src/app/category/[categoryId]/page.tsx - Category Listing → Category API: fetches
src/components/shared/CategoryContent.tsx - Category Listing → Product Card: renders
src/components/shared/CategoryContent.tsx - All Products → Product Card: renders
src/components/homvepage/AllProduct.tsx - Price Decreases → Product Card: renders
src/components/homvepage/PriceDown.tsx - Price Increases → Product Card: renders
src/components/homvepage/PriceUp.tsx - Product Route → Product Content: renders
src/app/products/[id]/page.tsx - Product Content → Market Price Detail: renders
src/components/shared/ProductContent.tsx - Product Card → Product Data Type: uses
src/components/shared/ProductCard.tsx - Market Price Detail → Product Data Type: uses
src/components/shared/ProductDetailCard.tsx - Category Listing → Product Data Type: uses
src/components/shared/CategoryContent.tsx - Price Marquee → Product Data Type: uses
src/components/Navbar/Marquee.tsx - Price Increases → Product Data Type: uses
src/components/homvepage/PriceUp.tsx - Price Decreases → Product Data Type: uses
src/components/homvepage/PriceDown.tsx - All Products → Product Data Type: uses
src/components/homvepage/AllProduct.tsx