Project overview
BusinessHub is a classifieds platform only for businesses: businesses for sale or rent, shares, franchise opportunities, investors, and machinery and supplies.
Visitors pick a country, language and currency; sellers place Direct Ads (listings in a category) or Marketing Ads (banner and poster placements), pay by card, and talk to buyers in built-in chat.
Engineering challenge
One codebase has to feel local in 197 countries: listings scoped to the country, city and neighbourhood being browsed, prices shown in the visitor's own currency, and the interface in their language.
At the same time every paid ad goes through a lifecycle of draft, review, live, rejection and expiry, with renewals and receipts.
Technical solution
Country, language and currency follow the visitor across every query and page. Prices are converted on the fly from a daily exchange-rate feed, and neighbourhood search uses Google Places autocomplete limited to the country being browsed.
Ads and posters run through an explicit status lifecycle with plans and Stripe checkout. Chat is real-time over Pusher and falls back to polling when Pusher is switched off, so nothing breaks without it. Firebase Cloud Messaging sends push notifications, Redis backs cache, sessions and queues, and a versioned REST API (72 endpoints) serves mobile clients. The codebase is covered by 81 feature and unit test files.
Key features
- Direct Ads and Marketing Ads, each with its own plans, checkout and extend flow.
- Search by city, keyword, neighbourhood and price range in the visitor's currency.
- Ad pages with photo gallery, map and call, chat, WhatsApp and email contact, each of which the seller can hide.
- Buyer–seller chat per ad, with unread badges, reporting, and attachments that open in the browser.
- Seller dashboard with live ads, view analytics by date range, recent viewers and favourites.
- Billing history with receipts, and an admin panel for ad review, reports and users.







