I build and evolve software for complex business operations.
Software engineer focused on reliable systems, enterprise integrations, business workflows, and end-to-end product delivery.
Backend systems that stay correct when things fail.
Backend-focused full-stack engineer working on a production multi-tenant logistics platform. My work sits where correctness is hard: financial integration with an external ERP, duplicate-safe message processing, and workflows that span independently deployed services.
Open to software engineering and technical leadership roles
Built core parts of the platform's connection to Microsoft Dynamics 365, the company's accounting system, so invoices, payments and customer records are posted automatically — and a failure is undone or clearly flagged instead of leaving the books half-updated.
How do you keep a business-critical financial workflow correct when the local database and the external ERP cannot take part in one transaction?
The platform posts invoices, payments and customer records to Microsoft Dynamics 365 Finance & Operations over HTTP, so a workflow can succeed in one system and fail in the other. I built the integration client and the posting pipelines for customer records, invoices and custody payments, and co-developed others with the team. They treat the ERP as a separate consistency boundary: every financial mutation is safe to repeat, and a partial failure is either undone or left in an explicit, visible state.
Microsoft Dynamics 365 · NestJS · TypeScript · RabbitMQ
Duplicate-safe posting. Messages are delivered at least once, so a posting can arrive again after it already reached the ERP. Every financial mutation is preceded by an existence check against the ERP, which turns a redelivery into a no-op instead of a duplicate invoice or payment.
Transport failures are handled once, in the client. Expired credentials are refreshed and the request retried; rate-limited requests wait for the interval the ERP asks for. This lives in the integration client, behind a generic OData query layer, so posting logic expresses business operations rather than HTTP mechanics.
Compensation instead of a distributed transaction. When a multi-line posting fails partway, the lines the ERP already accepted are reversed — a saga-like recovery step scoped to one financial document, rather than a transaction that pretends to span both systems.
A failed recovery is a state, not a log line. If compensation itself fails, the document is marked ROLLBACK_FAILED, so the inconsistency stays visible and can be followed up instead of disappearing into an exception.
Correct numbers at the edges. Amounts stay in arbitrary-precision decimals end to end. Exchange rates are held in a small in-memory LRU cache keyed by UTC date, so a cached rate is never applied to the wrong day.
Trade-off
With no transaction spanning PostgreSQL and the ERP, consistency is restored after the fact. The cost is a window in which the two systems can disagree, and a terminal state that has to be resolved outside the automated flow. In return, each step can be retried safely, and every failure leaves a state that can be inspected rather than a half-posted ledger.
Built the CRM service and its company and lead screens: managing leads, companies and contacts, turning a lead into a customer in one step, bulk import from Excel with row-by-row error reports, and a complete audit trail.
The CRM service owns the customer lifecycle on the platform — leads, companies, contacts, activities, financial accounts and documents — and serves it to other services over message-based RPC. Within the existing service architecture, I created its 10 feature modules (~62 RPC handlers) and the company and lead experience of its micro-frontend. The non-trivial parts are where one business action changes several records at once, and where data entering the system must already satisfy the rules the ERP will enforce later.
Lead-to-customer conversion is one atomic state transition. The company, the converted lead, the contact derived from it and the audit records are written in a single database transaction, so the CRM can never hold a half-converted customer.
Auditability is part of the operation. Audit entries commit or roll back together with the change they describe, so the history can't claim something that didn't happen, or miss something that did.
Spreadsheet import is a validated ingestion pipeline. Row-level validation is separated from persistence, records are written in bounded chunks, and the caller gets a structured per-row success and failure report rather than a single error for the whole file.
Business rules are enforced at the source. VAT requirements by customer classification, credit limits, payment terms and customer groups are validated where records are created — in the service and in the forms — so data the ERP would reject is caught before it reaches a later integration.
Trade-off
The two operations make opposite choices on purpose. Import accepts partial success with precise reporting, because rejecting a whole file over one bad row helps nobody. Conversion is all-or-nothing, because a partially converted customer is worse than none.
Document & workflow automation
Skil-Dev · Logistics operations
Built the feature that produces a shipment's paperwork — container manifests, shipping statements, bills of lading and commercial invoices — automatically from data spread across several systems, bundled for download, with confidential customer details masked.
A shipment's paperwork — container manifests, shipping statements, bills of lading, commercial invoices — depends on data owned by several independently running services. Producing a full document set is long-running and only as available as its slowest dependency, so it can't live inside an HTTP request. I built the document-generation subsystem of the catalog service, which runs it as an asynchronous job with explicit state.
NestJS · PostgreSQL · RabbitMQ · Background jobs
Technical areas
Asynchronous workflow orchestration · Background job lifecycle · Cross-service aggregation · Data normalisation · Data masking · Document generation
NestJS · RabbitMQ (request/response) · PostgreSQL
Under the hood
Long-running work is separated from the request lifecycle. A request creates a job and returns immediately; generation runs in the background, and the job's state — not an open connection — is what clients follow to completion.
Inputs are aggregated across service boundaries. Shipment data is gathered from the services that own it through request/response messaging, then normalised into one document model, with weight, measurement and package totals derived centrally and defined fallbacks where upstream data is incomplete.
Domain rules run in the pipeline, not in templates. Dangerous goods are detected from the shipment data, and consignee details are masked unless the party is explicitly allow-listed — decisions made once, before any document is rendered.
Job state is bounded. Finished jobs are expired on a schedule, so the job store reflects work in progress rather than growing without limit.
Trade-off
Clients get eventual completion instead of an immediate answer, and have to follow a job's state. In exchange, a slow or briefly unavailable upstream service delays one job instead of tying up request capacity, and the outcome is recorded on the job instead of being lost with a timed-out connection.
Large-scale search optimization
Block Gemini · Dubai
Made location search across more than 10 million records return in about 600 ms on average, against a one-second target.
Location search over more than 10 million records, with a response target of one second. At that size, latency is decided mostly by how the data is indexed and how queries reach it, not by the application code around it. I worked on the Elasticsearch indexing and geospatial queries, the APIs in front of them, and the logging used to see where the time went — reaching about 600 ms on average.
Evidence before tuning. Logs collected through Filebeat into Elasticsearch and Kibana showed where time was being spent, so indexing and query changes were aimed at measured slow paths and judged against an explicit target.
The search path end to end. Elasticsearch serves the geospatial queries behind NestJS REST and GraphQL APIs, with PostgreSQL behind the surrounding data-access services.
Access control across the services. JWT authentication and role-based authorization were implemented across the services the search was served from.
Engineering note
At this scale, most of the latency budget is spent inside the search engine, so the leverage is in how data is indexed and queried rather than in the API layer — which is why the work started from measurements of where time actually went.
02/About
I build and evolve software for production business applications, working across business-domain services, enterprise integrations, and the user-facing applications on top of them.
Much of my work happens where systems meet: message-driven workflows between services, integration with an external financial platform, data that has to stay consistent across asynchronous operations, and failures that must not leave a business process half-done.
I also build frontend features and see work through to production. I care about clear service boundaries, reliable business workflows, maintainable code, and how engineering decisions affect the wider product — and I support junior engineers through onboarding, task planning and code review.
Most of what I work on lives between services. The platform is split into domain-oriented services that are deployed independently, own their data and communicate through a message broker — so the hard problems are rarely inside one service. They are in the contracts between services, in messages that arrive twice, and in workflows that have to finish correctly when one participant doesn't.
The architecture itself — its tenancy model, API gateway, authorization and shared messaging libraries — was established by others. My work is the business-domain services, integrations and interfaces built within it: consumers that tolerate at-least-once delivery, domain operations with explicit transactional boundaries, and long-running work moved out of the request path. I build the React and Next.js side too, but approach systems backend-first: where the consistency boundary is, what happens on retry, and whether the next engineer can still follow the flow. It is also what I look for when reviewing junior engineers' pull requests.
Focus
Backend
Full-stack
Domains
Logistics
Freight forwarding
Financial operations
Education
BSc Computer Science, Software Engineering major
The British University in Egypt
Cumulative GPA 4.00, Distinction with Honors
Oct 2018 - Jul 2022
Languages
Arabic (native)
English (C1)
German (A1)
03/Experience
Aug 2024 — Present
Full Stack Software Engineer
Skil-Dev · Cairo, Egypt
Backend-focused full-stack development on a production logistics and freight-forwarding platform: financial integration with Microsoft Dynamics 365, CRM and business workflows, document automation, and the user-facing applications on top.
Built core parts of the integration with Microsoft Dynamics 365 Finance & Operations — the connection layer and the posting of invoices, payments and customer records — so that a failure is undone or clearly flagged instead of leaving the accounting records half-updated.
Built the CRM's business workflows for leads, companies, contacts, activities and financial accounts, including lead-to-customer conversion, validated bulk import from Excel, and a complete audit trail.
Built automated generation of shipping documents from data held by several services, running as background jobs rather than inside a user's request.
Built user-facing CRM and catalog screens in React and Next.js, delivering features end to end across frontend and backend.
Supported junior-engineer development through onboarding, task assignment, pull-request reviews, and progress evaluation.
Backend-focused full-stack work on a production multi-tenant logistics platform of independently deployed, domain-oriented services. I develop business-domain services, integrations and user-facing applications within its established architecture, integrating with the existing tenant-isolation and authorization mechanisms.
Built the Dynamics 365 F&O integration client — authentication, retries and rate-limit handling behind one OData layer — and the posting pipelines for customer records, invoices and custody payments, and co-developed others: duplicate-safe mutations under at-least-once delivery, compensating rollback across the ERP boundary, decimal-precise amounts.
Created the CRM service's 10 feature modules (~62 message-based RPC handlers): an atomic, audited lead-to-customer conversion, validation aligned with the ERP's rules, and a validated batch-import pipeline.
Built the catalog service's document-generation subsystem as asynchronous jobs over data aggregated from several services, with consignee-data masking and scheduled clean-up of finished jobs.
Made a finance event consumer retry-safe under redelivery (transactional stamping with row locking), and added audit logging to finance confirmation flows and to the platform's CRUD generator.
Built micro-frontend features in React and Next.js: the CRM's company and lead experience end to end, and container management in the catalog.
Supported junior engineers and interns through onboarding, task assignment, pull-request reviews and progress evaluation.
Business-domain services built within an existing multi-tenant architecture: explicit message contracts, request/response over a broker rather than direct HTTP calls, and integration with the platform's established tenant-isolation and authorization mechanisms.
Transactional boundaries around multi-record domain operations, schema migrations with historical data backfills, and Elasticsearch for geospatial search and audit-history lookups.
PostgreSQL·MongoDB·Redis·Elasticsearch
IntegrationsMessaging & external systems
Consumers that tolerate at-least-once delivery, and integration with an ERP that cannot join a local transaction — kept consistent through duplicate-safe mutations and compensating actions.
Patterns applied in feature code — on top of the platform's shared messaging and audit libraries — so a workflow stays consistent when messages repeat, writers compete and downstream calls fail partway.
Trace- and log-driven investigation of production behaviour — locating slow paths and failure sources before changing code, and judging performance work against measured targets.
OpenTelemetry·Grafana·Kibana·Logstash·Filebeat
FrontendInterfaces
Backend-first full-stack work: user-facing React and Next.js features over the services, built as micro-frontends embedded in a shared host shell, with forms that enforce the same business rules as the backend.
React·Next.js·Tailwind CSS
Testing & deploymentTesting & delivery
Integration tests against a real PostgreSQL instance rather than mocks, multi-stage container builds, and automated build and release pipelines.
Jest·Testcontainers·Docker·GitHub Actions
05/Contact
Let’s talk about a software engineering role or project.
Open to software engineering and technical leadership roles.