Georges Walid Hajjar — Senior Full-Stack EngineerPayment systems,multi-tenant data,and the productionthey run in.
Senior full-stack engineer and deputy technical lead, 7+ years on Node, TypeScript, React and PostgreSQL. I'm currently architecting a crypto payment gateway end to end — payment flows, provider integrations, schema, migrations, and the infrastructure it runs on.
The pattern across my last three roles is the same: I'm the person who owns the hardest subsystem, sets the quality bar through review, and stays responsible for it after it ships.
~/work
04 systems · client names withheldA crypto payment gateway, architected from zero
PROBLEMA payments product in a regulated domain needed to move real value across volatile rails, with every balance provable and every failure recoverable.
APPROACHI own the architecture on Node/Express + PostgreSQL + React: transaction processing, settlement, wallet handling, and third-party provider integrations. Accounts, transactions and balances are modelled as append-only ledger entries so state is derived, never overwritten.
RESULTGateway running in containerized production with CI/CD, monitoring, hardened APIs and safe forward-only migrations — and a security posture that holds up to financial-domain review.
Three provably-fair games, three deposit rails
PROBLEMPlayers had to be able to trust game outcomes without trusting the operator — and fund accounts through three completely different value networks.
APPROACHI wrote three games on a commit-reveal fairness model — server seed hashed and published before play, revealed after, so any round can be re-derived independently — across MongoDB-backed microservices. Then three deposit methods: in-game skin trades, on-chain crypto, and card/bank through a PSP, each with its own confirmation semantics and reconciliation path.
RESULTVerifiable outcomes players can check themselves, and three funding routes that fail independently instead of taking the platform down together.
Mongo to Postgres without taking the product down
PROBLEMA multi-tenant SaaS had outgrown a document store: tenant isolation was enforced in application code, analytics queries were expensive, and AI features needed vector search.
APPROACHI architected and executed the migration to PostgreSQL with Row-Level Security so isolation lives in the database, not in every query, plus pgvector for retrieval. Zero-downtime cutover via dual-write and backfill, then data sync and pricing/analytics pipelines feeding the reporting and AI modules.
RESULTIsolation guaranteed at the row level, and RAG chat, smart kiosk, customer analytics and personalization shipped on the new schema — with every merge to production reviewed by me.
Four years on sensitive-document workflows
PROBLEMA monolithic platform handling confidential documents was hard to extend and risky to deploy, across React, Angular and three different databases.
APPROACHActing as senior engineer, I made architectural calls independently, led review, and split the platform into microservices. Schemas and queries optimized across PostgreSQL-compatible, MongoDB and MySQL stores with migration safety as a hard requirement.
RESULTFaster queries, safer deploys, and full project lifecycles delivered from concept to production in direct collaboration with leadership.
How a deposit becomes a confirmed balance
The same six stages sit behind every rail I've built — crypto, card/bank via PSP, and in-game skin trades. Where they differ is what “confirmed” means, and what has to be reversible.
Deposit intent is created, not trusted
The client asks for a deposit; the server creates a pending intent with its own id, expected amount, rail, and a unique address or reference. Nothing the client sends about value is trusted — amounts are re-derived server-side.
A user opening ten intents and paying one. Intents expire, and only the reference that actually receives value can settle.
const intent = await tx.one(
`INSERT INTO deposit_intents
(user_id, rail, expected_amount, ref, status)
VALUES ($1,$2,$3,$4,'pending')
RETURNING id, ref`,
[userId, rail, amount, ref]
);Each rail speaks its own language
Crypto gets a watched address. Card/bank is handed to the PSP with the intent id as the merchant reference. Skin deposits open a trade offer keyed to the same intent. One interface, three adapters — the core never knows which rail it is.
Provider-specific logic leaking into the ledger. Adapters convert to a single internal event shape before anything touches balances.
interface RailAdapter {
open(intent: Intent): Promise<Handoff>;
parse(webhook: unknown): RailEvent;
confirmations(e: RailEvent): number;
}Confirmation means something different per rail
On-chain deposits wait for N confirmations against reorg. PSP payments wait for a signed webhook and are still reversible for months. Skin trades confirm when the trade completes and the item is verified in inventory. The pending window is tuned per rail, not global.
Treating a one-confirmation transfer or an authorized card as final. Each rail carries its own threshold and its own reversal horizon.
if (ev.confirmations < RAIL.crypto.minConf) {
return markSeen(intent.id, ev); // visible, not credited
}
await credit(intent.id, ev);The same event arrives more than once
Providers retry. Webhooks duplicate. Users refresh. Every inbound event carries a provider id stored under a unique constraint, so replays collide at the database instead of double-crediting an account.
Double credits under retry storms. The unique index is the guarantee — not application-level checks that race.
await tx.none( `INSERT INTO rail_events (provider, provider_id, intent_id) VALUES ($1,$2,$3) ON CONFLICT (provider, provider_id) DO NOTHING`, [provider, providerId, intentId] );
Balances are derived, never overwritten
Crediting writes append-only, double-entry rows inside one transaction; the account balance is a projection of those entries. No UPDATE ever mutates a balance, so any figure can be reconstructed and audited from history.
A partial write leaving money in neither place. Entries are written in a single transaction, and every entry has an equal, opposite pair.
-- one transaction, two entries, always balanced
INSERT INTO ledger_entries (account, intent_id, delta)
VALUES ($rail_clearing, $intent, -$amount),
($user_available, $intent, $amount);Reconciliation catches what the flow missed
A scheduled job compares provider-side records against internal ledger state and flags any divergence — missing events, mismatched amounts, chargebacks, reversed trades. Discrepancies surface as alerts, not silent drift.
Slow drift nobody notices for a month. Monitoring alerts on divergence count, and reversals post compensating entries rather than deleting history.
const drift = await compare(providerLedger, internalLedger);
if (drift.length) {
await alert('ledger.drift', { count: drift.length });
}~/stack
depth over breadthbackend
Node.js · Express · NestJS · TypeScript · RESTful API design · microservices
data
PostgreSQL — RLS, complex queries, schema design, migrations, pgvector · MongoDB · MySQL
frontend
React · Next.js · Angular · TypeScript · responsive UI · React Native (familiar)
infrastructure
Docker · CI/CD pipelines · production monitoring · Git/GitHub · security hardening
domains
Payment gateways & pricing · crypto/blockchain payments · multi-tenant SaaS · regulated / HIPAA-aware practice
ai-augmented
Directing, auditing and reviewing AI-generated code · RAG · vector search · LLM integration
~/track-record
2018 → nowDbayeh, Lebanon
Senior Full-Stack Developer
Architect and build the gateway end to end. Senior engineer on the team: independent architectural decisions, code review, unblocking others.
Remote
Senior Full-Stack Developer
Owned architecture and reviewed every merge to production. Led the Mongo→Postgres re-platform with RLS and pgvector; shipped AI, kiosk and analytics modules.
Remote
Full-Stack Developer
Senior engineer across React, Angular and Node. Microservices decomposition, multi-database schema and query optimization, full lifecycle delivery.
Lebanon
QA Analyst
Owned automated and manual test strategy and regression suites — where the habit of reviewing code against a hard quality bar started.
Lebanon
IT Support Specialist
Kept production systems and infrastructure running; root-cause analysis under time pressure.
BSc Computer Science
English fluent · Arabic native · French conversational
Need someone to own the part of the system that scares everyone?
That's usually the one I take. Beirut-based with full overlap on US hours, comfortable talking directly with executive leadership, and available for senior or lead roles.