TESWA — REAL ESTATE EXPANSION · LAUNCHED, AND UNDER AUDIT

Teswa becomes a multi-category platform

The vision: Teswa is not just a car marketplace — cars were phase one. At launch of this expansion, Teswa carries two worlds: Cars and Real Estate (عقارات), behind a category switcher, with more categories possible later. Same trusted style, same platform bones — each world with its own vocabulary, filters, packages and directory (المعارض for cars, المكاتب العقارية for property).

Before any building: a deep scan of the whole codebase ran (9 subsystems, ~330 files, then a second pass hunting for what the first missed). Everything below stands on that scan — not on guesses.

What the deep scan found

Ready to reuse as-is

  • The whole payment rail: orders, checkout, settle, refunds
  • Ad lifecycle engine (draft → live → expired → sold → archived)
  • Photo pipeline (private originals, auto WebP)
  • Login/OTP, accounts, persona switching
  • Admin shell: roles, audit, moderation machinery
  • The design system and every confirmed component

Welded to cars today

  • FIXED in Phase 1 — every ad now carries its category
  • Browse + filters + search: car facets only
  • The vocabulary: 18 car lists (makes, models, colors…)
  • Home page, sell wizard, showrooms, business cockpit
  • The SEO tree: /cars/…, /cars-in/…, /cars-body/…
  • FIXED in Phase 1 — counts and caps filter per category

Found on the way

  • «سيارة» was ~470 across 96 files; the sweep took it to 257 across 81 — but it SKIPPED «حسابي», which is the gap you found
  • FIXED — the chip is now the world switcher, at every width
  • FIXED — the site has its own web-push channel (service worker + VAPID)
  • FIXED — daily stats carry a per-world bucket (the days before 2026-07-29 stay mixed forever)
🔧🧪