Beirut, Lebanon · UTC+3 farhat_osama@hotmail.com

Osama H. Farhat

أسامة فرحات

Systems I built alone, still running years later.

Senior full-stack engineer. I take products from a legacy mess or an empty repository to something in production that a city government, a school, or a broker depends on every day — and I stay accountable for it afterwards. Ten years across government compliance, ERP, fintech, geospatial, and Arabic-first mobile.

Selected work

أعمال مختارة

Municipal compliance platform

City of Burbank, California · Sole engineer · 2022–2024

The city tracked certificates of insurance for 30,000+ residents in a Visual Basic and Access system nobody had documentation for. I reverse-engineered it, then rebuilt it: ten modules, thirty automated notification flows, full audit trails, cron-driven expiry alerting.

The hard part was not the rewrite. It was expiry state — a certificate flagged non-compliant by a race condition has legal consequences for a resident. I moved expiry from a calculated value to an explicit, locked state transition.

Vue.js · Strapi · PostgreSQL · Node.js · cron · AWS

Roughly 100 staff hours returned per month. Delivered on schedule. Still in production.

Multi-tenant ERP

Lebanese Modern Institute · Engineer → Principal · 5 years

Started as one department's tool. Grew into HR, finance and accounting, IT, and academic modules — plus an LLM pipeline that reads and summarises news for an internal monitoring desk.

Tenant scoping is enforced in middleware rather than in queries, so cross-tenant leakage is impossible by design instead of impossible by discipline. RBAC sits on top; tenant-key indexing and connection pooling made the same decision pay for itself on performance.

.NET Core · SQL Server · React · React Native · SignalR

Manual workload down 55%. Reporting cycle from three days to four hours.

Bayyina

Arabic-first mobile ERP · Product, in development

Task and calendar management built right-to-left from the first commit, not translated into it — Hijri alongside Gregorian, prayer times in the day view, and a voice-to-form pipeline that takes spoken Lebanese Arabic and fills the fields.

React Native · Expo · Redux · ASP.NET Core · PostgreSQL · SignalR · Whisper

Geospatial routing and zoning

Client engagement

Vector-tile mapping with zone-intersection logic and route optimisation, served from a self-hosted tile pipeline rather than a per-request commercial API.

MapLibre GL JS · PostGIS · Tegola · OSRM · GeoJSON

Real-time fintech dashboards

Plugitapps · 2020

Trading dashboards rendering thousands of live data points without the interface falling behind the feed.

React · TypeScript · WebSockets

Two to four second load on the heaviest views.

How I work

طريقة العمل

I never ship code I can't fully explain

AI writes boilerplate and accelerates the parts I already understand. Every architectural decision is mine and every line gets read. Outsource the doing entirely and you lose the instinct that catches the hairline fracture.

Characterisation tests before changes

On inherited code, first capture what it actually does — not what it was supposed to do. Map the system, then make the smallest change that works. Untested and business-critical is unexploded ordnance.

The pipeline is the gatekeeper, not a person

Separate build, test, and deploy jobs. Docker for environment parity. Staging deploys itself; production waits for a human to approve. Health check before a deploy is marked successful.

Knowing when a tool is overkill

Kubernetes for a two-container internal app is a decision you pay for every week afterwards. Choosing infrastructure by actual need rather than by what sounds impressive is part of the job.

Stack

الأدوات
Languages
TypeScript, JavaScript, C#, Python, SQL
Frontend
React, Next.js, Vue.js, React Native, Expo, Redux
Backend
.NET Core Web API, Node.js, Strapi, Flask, REST, SignalR
Data
PostgreSQL, SQL Server, PostGIS, MongoDB, SQLite
Cloud & ops
AWS (EC2, S3), Docker, GitHub Actions, Hetzner VPS
Geospatial
MapLibre GL JS, Tegola, OSRM, GeoJSON
AI & LLM
OpenAI, OpenRouter, Claude, HuggingFace, n8n, agentic workflows
Languages spoken
Arabic (native), English (professional), Spanish (beginner)

Two ways to work with me

طريقتان للتعاون

Hiring a senior or lead engineer

I'm looking for a role where I own architecture and stay with a product long enough to live with my own decisions — the thing consulting rarely gives you.

  • Availability — immediate, roughly two days' notice
  • Location — fully remote from Lebanon
  • Overlap — US Eastern, 5 PM–1 AM Beirut, already tested
  • Level — senior, lead, or deputy to a CTO

Bringing a problem to CodePeakLB

My consultancy in Beirut, running since 2019. Best fit when there's a real technical problem, a real budget, and someone empowered to decide.

  • Domains — public sector compliance, ERP, InsurTech, geospatial
  • Specialism — Arabic-first and RTL products built properly
  • Also — legacy system audits and modernisation plans
  • Site — codepeaklb.com