Skip to content
Suhib Al-SalehSolutions Architect
All projects
Simulation

Project1 Commerce Intelligence

Cross-border commerce simulator with a full loop from discovery to a simulated purchase, and a kill switch the UI cannot lift.

Next.jsPostgreSQLPrismaVitestPlaywrighteBay SandboxNextAuth

The record below is the vetted Arabic wording, so figures, dates and constraints stay exact.

Problem

اختبار جدوى تجارة إلكترونية عابرة للحدود (اكتشاف منتج → تسعير → إدراج → شراء) دون المخاطرة بمال حقيقي أو انتهاك سياسات المنصات.

What I built or led

  • اتصال eBay Sandbox موثَّق (SANDBOX_VERIFIED، Browse أعاد 3 عناصر)، إعدادات اكتشاف محفوظة (accessories / US / JO / topN=10).
  • مسار CSV للعروض: معاينة → تحقق → commit، تسعير حتمي (markupFloor / marginFloor)، مسودة محلية بحالة LOCAL_READY، شراء محاكى بـ dataPlane=SIMULATION.
  • مركز جاهزية للمالك (/overview و/readiness) يولّد المهام من فحوصات حقيقية مع دمج بـ dedupeKey.
  • واجهة ثنائية اللغة (AR RTL / EN LTR) فاتحة/داكنة، وصفحة أوامر /master بقالب RCTC خلف requireOwner.
  • مفتاح إيقاف buyHalt=true لا يمكن رفعه من الواجهة؛ فحوصات Origin/CSRF على كتابات المالك.

Safety and security controls

  • buyHalt=true ثابت في طبقة البيانات
  • فحوص Origin/CSRF على كتابات المالك
  • مفاتيح eBay في .env.local فقط

Evidence

Evidence type: اختبارات + مراجعتان مستقلتان

  • Vitest 28 → 40 → 43 → 49 → 52/52 خلال أسبوع
  • Playwright 4/4 (landing public، overview→login، health 403، liveness 200)
  • pnpm prove:csv و pnpm prove:readiness
  • مراجعة واجهة عدائية مستقلة: PASS بلا ثغرات رفع الإيقاف
  • مراجعة كود مستقلة ثانية: PASS مع 4 ثغرات رُقّعت (G1–G4)

Current limit and next step

المستودع خاص؛ الدليل اختبارات وسجلات لا رابط عام. الخطوة التالية نسخة عامة مخفّفة بلا مفاتيح.

Have a role or a project?

An engineering or consulting role, or an integration, automation or AI project. Remote-first, on-site in Saudi Arabia and the GCC when required.

More from the same group

Dependency-free portfolio platform: one operation catalogue exposed as MCP tool, HTTP API and CLI, with a per-project engineering mind and reports.

Case study No public URL

Laravel + Next.js talent platform: celebrity self-service roles in production, and an influencer collaboration hub with a locked payout state machine.

Case study No public URL