Back to projects

BazarDor (বাজার দর)

Today's grocery prices across Bangladesh, in Bangla

bazardor-tarek.vercel.app

Screenshot of BazarDor (বাজার দর)

About the project

A Bangla website for checking today's prices of everyday groceries in Bangladesh. The home page shows which items got more expensive today and which got cheaper, every category has its own sortable page, and each product compares its price across 12 markets around the country. Product pages sit behind a login with email, Google and GitHub sign-in.

Key features

  • Today's 6 biggest price rises and 6 biggest drops on the home page
  • A scrolling price ticker under the navbar
  • Category pages with price sorting
  • Market-wise price table with lowest, highest and average price
  • Email, Google and GitHub login with protected product and profile pages

Challenges I faced

  1. 1

    Prices are shown in Bengali digits, so sorting the displayed text put ১২০ before ৯৫. I sort on the real numbers and only convert to Bengali digits when rendering.

  2. 2

    Signed-out visitors who open a product get sent to the sign-in page. After logging in they have to land back on that same product instead of the home page, so the original URL travels through the whole login flow.

  3. 3

    The price API has a rate limit. When it's hit, the site falls back to a saved copy of the same data and the pages keep working.

  4. 4

    Product icons are emoji, and Windows didn't show them reliably, so I added a colour emoji font.

Future plans

  • Price history charts so you can see how a product's price moved over the past weeks.
  • A watchlist that alerts you when a product drops below a price you set.
  • A panel for trusted contributors to update market prices.
  • An English version of the site alongside the Bangla one.