Technical Lead, Web Platform (full-time), Dinar
- Technical lead for the web platform of a CMA-licensed (Capital Market Authority) Saudi investment and brokerage platform, used by 100k+ investors: three Next.js/TypeScript apps (investor app, admin back office, marketing site).
- Co-designed REST contracts with the backend team and reviewed across the React Native, .NET and infrastructure teams as one of the technical leads.
- Built Saudi and US equities trading on the web: IPOs, rights issues, Nomu, market depth, watchlists and compliance-driven trading restrictions, on a WebSocket price feed with exponential-backoff reconnect and 100ms update coalescing, plus a SignalR order-status hub.
- Built onboarding and investing for the product lines (sukuk, equity and income funds, fixed deposits, unit offerings): individual and corporate KYC/KYB with Absher, Yakeen and Wathq integrations, wallets, IBAN withdrawals and portfolio statements; added corporate accounts with approver/viewer roles and an approvals workflow for institutional clients.
- Owned the admin back office for brokerage operations, KYC approval, AML monitoring, settlement, corporate actions and wallets; designed its fine-grained RBAC (role-based access control): route-level permission gates, per-action guards and a grouped permissions editor that lets operations teams manage access without engineering.
- Designed a backend-for-frontend auth layer (HttpOnly cookies, server-side token decryption, correlation IDs) and app-wide security headers (CSP, HSTS, frame-ancestors, input sanitization). Every finding from the independent security assessments was resolved, and follow-up reports came back with only low-severity findings.
- Led DevSecOps (security built into CI/CD) on Azure DevOps CI/CD to Google Kubernetes Engine (GKE): Gitleaks, Semgrep with custom rules, Trivy, Nuclei and npm audit scanning; keyless image signing (Sigstore cosign); hardened pods (non-root, read-only filesystem, seccomp).
- Ran the apps on Kubernetes (K8s) with zero-downtime pod recycling: a memory watchdog drains pods via readiness probes before recycling them, preStop hooks, CPU-based autoscaling (HPA) and zone-spread replicas.
- Built end-to-end observability: structured logging into Grafana Loki with a fault taxonomy (frontend, backend or infra) and PII redaction, OpenTelemetry instrumentation and browser-to-backend request correlation, so most production issues trace to their origin in under 3 minutes, down from up to a couple of hours.
- Built a Node API gateway in front of 11 backend services (circuit breakers, per-backend concurrency caps, 3 timeout tiers), then retired it in favour of direct client calls to remove a network hop and CORS issues.
- Rebuilt the UI on shadcn/ui and Radix with Arabic/English i18n and full RTL, removing 113 dead legacy components and adding code splitting; migrated data fetching to TanStack Query.