Salah Sennoussi

Technical Lead · Full-Stack TypeScript

[email protected]Algiers, AlgeriaUTC+1 · flexible hours

linkedin.com/in/chakib-salah-eddine-sennoussi-10538b230github.com/Da3azstackoverflow.com/users/18299343/chakib-salah

back to the site

Summary

Technical lead and full-stack TypeScript engineer, 5+ years. Leads the web platform of a CMA-licensed investment and brokerage platform; built a clinic EHR SaaS as its sole engineer, live in about 50 clinics.

Experience

Technical Lead, Web Platform (full-time), Dinar

May 2022 - Present · Saudi Arabia · Hybrid · CMA-licensed investment & brokerage platform · dinar.sa

  • 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.

Technical Lead & Full-Stack Engineer (part-time) · Technical Advisor since May 2026, Daoini

Nov 2024 - Present · Algeria · Remote · Clinic management / EHR SaaS, live in about 50 clinics in Algeria

  • Sole engineer on the product, end to end, until May 2026. I designed and built the NestJS/Fastify/PostgreSQL API, the Next.js clinician app, two React Native apps (patient booking and clinic companion), the admin portal and the marketing site, and deployed the API on AWS EC2.
  • Built SMS that goes out from each clinic's own SIM instead of a paid A2P gateway. A Postgres outbox is claimed with FOR UPDATE SKIP LOCKED and drained by a companion Android app with a native Kotlin sender. This takes per-message provider fees, the largest recurring cost per clinic, out of the design.
  • Built multi-tenancy on a shared schema scoped by clinic. A permission guard resolves the clinic on every request and checks that membership's grants: fine-grained permissions layered over role-default bundles. Branch and room scoping live in the service layer. Auth adds JWT token blacklisting and bcrypt-hashed SMS OTP.
  • Made clinic payments race-safe. Payments are signed deltas applied in one guarded UPDATE, so the database itself holds 0 ≤ paid ≤ fee. Lump-sum payments are allocated oldest-visit-first under row locks in a single transaction, and every money change writes a log row in that same transaction.
  • Shipped the clinician app trilingual (Arabic/French/English, full RTL). It includes FDI (World Dental Federation) tooth and anatomical site charting drawn from my own SVGs and validated server-side, a print-layout engine for Arabic PDF prescriptions rendered in the browser, and live queue updates with spoken waiting-room calls over Socket.IO.
  • Handed development over to a new in-house team in May 2026. I now advise weekly and on demand on architecture and code review, and handle maintenance.

Full-Stack Developer (freelance), Upwork & Khamsat

Aug 2021 - Apr 2022 · Remote · Freelance client work · reached Upwork Top Rated Plus, 5.0 on every rated contract

  • Client products: a B2B supplier and buyer platform (UI and API integration), a translation agency site with Stripe payments, webhooks and Chart.js dashboards, and an ordering and delivery platform with Mapbox/Turf.js service regions and an admin panel.
  • Smaller builds: a chess site with 2D game logic and real-time Socket.IO events, a browser PDF editor (Next.js, pdf-lib) and a whitepaper/FAQ site generated from Markdown.

Selected work

SMS without a provider (Daoini)

Replaced paid SMS with a Postgres outbox (FOR UPDATE SKIP LOCKED) and an Android companion app sending from each clinic's own SIM, taking per-message provider fees out of the cost model.

Payments that can't race (Daoini)

Made clinic payments race-safe: signed deltas in one guarded UPDATE so the database holds 0 ≤ paid ≤ fee, and lump sums allocated oldest-first under row locks in one transaction.

A ledger that cannot lose money (daftar · open-source personal project)

Double-entry PostgreSQL ledger with database-enforced invariants under a play-money order book; benchmarked three locking strategies and shipped advisory locks at 1,718 orders/s with 0% errors under 50 concurrent clients. daftar.salaheddine.dev

A read path with no database (livemap · open-source personal project)

Multi-tenant map authoring with Postgres row-level security; readers fetch immutable, content-hashed artifacts with ETags and never touch the database, 141× the throughput of per-request reads (k6, one machine). livemap.salaheddine.dev

Education

Master's degree in Computer Systems

École Nationale Polytechnique d'Oran Maurice Audin (ENPO) · Oran, Algeria · Sep 2016 - Jul 2021

Skills

core
TypeScript, JavaScript, Node.js (NodeJS), PostgreSQL (Postgres)
frontend
Next.js, React, React Native (Expo), TanStack Query, Zustand, Tailwind CSS, i18n & RTL
backend
NestJS, Fastify, TypeORM, REST APIs, WebSockets (Socket.IO, SignalR), JWT auth
infra & observability
Linux (Debian, Ubuntu), Docker, Kubernetes (GKE), AWS (EC2, ECR, S3, SES), GitHub Actions, CI/CD, OpenTelemetry, Sentry
testing
Vitest, Jest, Playwright

Languages

Arabic, French, English