BazarDar
Daily Local Market Commodity Price Tracker & Multi-Market Comparison Platform

Architectural Overview
BazarDar empowers consumers in Bangladesh to monitor, compare, and forecast daily essential commodity prices across neighborhood kitchen markets (kacha bazars). Designed with high performance and accessibility in mind, the platform aggregates price data for vegetables, meat, fish, grains, and spices, allowing shoppers to identify market variations and spot inflationary trends before heading out to shop.
Key Features
- ✓Daily Commodity Price Feed: Real-time price updates categorized by produce, poultry, fish, and pantry staples.
- ✓Multi-Market Price Comparison: Side-by-side market comparison tools highlighting price discrepancies across Dhaka's key markets.
- ✓Fast Debounced Search & Filter: Instant filtering by commodity name, market location, and price ranges without lag.
- ✓Historical Price Tendency: Tracking weekly and monthly price fluctuations to help consumers budget efficiently.
- ✓Responsive Mobile-First UI: Optimized for budget shoppers on mobile devices with high-contrast readable typography.
Challenges Faced While Developing the Project
High-Frequency Search Debouncing & Fluid UX
Rapid keystrokes across hundreds of commodity items triggered excessive DOM re-renders and unnecessary network requests. Engineered custom debounce hooks (300ms) with client-side memoized fuzzy filtering that provides instant UI feedback with zero stutter.
Normalized Schemas for Multi-Market Daily Price Logs
Daily price fluctuations across dozens of localized markets created nested data complexity. Designed a normalized MongoDB document model separating market metadata from daily price logs with composite indexing on `marketId` and `date`.
Multi-Column Price Comparison on Small Mobile Viewports (375px)
Comparing 3 to 4 markets side-by-side caused severe horizontal truncation on small mobile devices. Engineered a dual-mode card view with an intuitive toggle between horizontal comparison cards and compact expandable item drawers.
Potential Improvements & Future Plans
Crowdsourced Community Price Submissions: Verified buyer receipt uploads and crowdsourced price flagging with moderation.
Interactive Historical Trend Visualizations: Embedded Chart.js / Recharts interactive visual graphs showing seasonal price cycles.
District-Wise Price Alerts: Push notifications and Telegram/WhatsApp bot alerts when essential goods drop below target thresholds.