Full-stack software engineer
Mohamed Moghalis, full-stack software engineer
Full stack, in my work, means one person can take a business problem from the first data model to a system running in production: the database, the API and its rules, the web, mobile and desktop apps people use, the integrations, and the servers, security and releases underneath.
I have built eighteen products this way over three years, for businesses in Saudi Arabia, the wider Middle East and the United States. Eleven of them are live in production. Every one is Arabic-first and bilingual.
Every layer, with the projects that prove it
Each layer lists the tools I use for it and the case studies where you can see it working.
Data and databases
Data models that keep money and records correct: double-entry ledgers, append-only financial records, row-level security for multi-tenant platforms, migrations and point-in-time backups.
- PostgreSQL
- Entity Framework Core
- Kysely
- SQLite
- SQL Server
APIs and business rules
APIs where the rules live in one place, so every screen and app gets the same answers: validation, permissions per role, idempotent payments and receipts, and audit trails.
- C# / ASP.NET Core
- Node.js / NestJS
- Fastify
- REST APIs
See it inDaelOfficeBin Masoud StoreSAIMA: AI Marketing Platform
Web applications
Fast, accessible web apps and sites in Arabic and English, from back offices and dashboards to stores and marketing sites, prebuilt or server-rendered so search engines read them.
- React
- Next.js
- TypeScript
- Tailwind CSS
See it inSAIMA: AI Marketing PlatformBin Masoud StoreSilver Precision
Mobile and desktop apps
Apps that keep working without a connection and sync safely when it returns, for field staff, customers and shop counters, plus Windows software with its own licensing.
- Flutter / Dart
- React Native / Expo
- WPF
- Rust / Tauri
Integrations
The services a business in the region runs on: ZATCA Phase-2 e-invoicing built from scratch in C#, card payments, WhatsApp, SMS gateways, and AI providers with their costs under control.
- ZATCA Phase 2
- Moyasar / Apple Pay
- WhatsApp Cloud API
- Claude, OpenAI, Gemini
Servers, security and releases
Self-hosted production on Linux with Docker and Caddy, releases that can be rolled back, automated tests in CI, mutual TLS between devices and servers, and backups that are restored, not just taken.
- Docker
- Linux
- Caddy
- GitHub Actions
- Keycloak
Arabic-first software engineering
Most of what I build is used in Arabic first. That changes the engineering, not only the translation: search that finds a word whatever its spelling, right-to-left layouts that also hold numbers and Latin names, Arabic receipts on thermal printers, and Hijri dates that agree with the calendar people use.
I write about these problems and publish free tools for them, so other teams building Arabic software do not have to solve them again.
- Arabic text normaliserStrip diacritics and tatweel, unify alef and yaa, and convert digits, the way search indexes need it.
- Hijri and Gregorian datesConvert between Umm al-Qura Hijri and Gregorian dates, both ways, with the weekday.
- ZATCA invoice QRMake the QR code a Saudi simplified tax invoice carries, or read one back field by field.
- "Arabic search that finds what you meant: hamza, taa marbuta, tashkeel"
- Arabic on a thermal printer, and the five bytes that ate a roll
- Per-letter text effects break Arabic. Intl.Segmenter won't save you
How I keep systems correct
- Rules in one place
- A rule that protects money is enforced once, on the server, and every screen offers only what that rule accepts.
- Tests on real databases
- Automated tests run against real databases, and audits look for the bugs tests are blind to by design.
- Security in layers
- Row-level security, signed requests, role permissions and locked-down containers, so one failing layer is not the end.
- Releases you can undo
- Every release is a new version beside the old one, switched in one step and switched back the same way.
Written from these projects
- 372 tests passed. No sale could reach the ledger.How I keep a 322,000-line accounting system correct on my own: one save gate, append-only money, a hash-chained audit trail, real-database tests, and the audit that caught what they missed.
- The ZATCA error that only shows up after you pass complianceZATCA Phase 2 in plain C#: the hash Fatoora recomputes, the ECDSA stamp, nine QR tags, offline hash chains, and the traps that pass compliance and fail when you report.
- Who can delete an invoice? Permissions and audit trails for ownersThe losses that start inside a business, a who-may-do-what table you can copy, money that is reversed and never edited, and what to ask a vendor to show you before you buy.
- Double-entry bookkeeping for developers: a ledger that cannot lieAccounting as a data model: entries that balance exactly, posting, reversal instead of editing, balances you derive, and the trial balance as a test, with real code from FinyX-ERP.
- Security that survives my own bugs: six layers and their configsSix layers in production, each built for the day the one above it fails: forced row-level security, logins that cannot bypass it, sealed containers, phone certificates, weekly restores.
- One rename to deploy, 9 ms to roll back, 8 traps to dodgeMy deploy kit for a static site on a small VPS: a folder per release, one atomic rename to go live, a 9 ms rollback, a read-only Caddy box, and 8 traps I found by testing it.
From the first conversation to production
- 01Discovery
What the business does, who will use the system, and what does not work today.
- 02Architecture
The data model, the rules and the parts of the system, agreed in writing before code.
- 03Development
Built in phases, each one usable on its own.
- 04Testing
Automated tests, plus the client’s team testing each phase where it will run.
- 05Deployment
On the client’s server or agreed hosting, with backups and monitoring.
- 06Maintenance
Fixes, updates and new phases as the business grows.
Questions
- What does Mohamed Moghalis build?
- Complete software products: ERP and point-of-sale systems with ZATCA e-invoicing, SaaS platforms, e-commerce, utility billing, offline mobile apps and Windows software, with their databases, APIs and servers.
- Which technologies does he use most?
- C# and ASP.NET Core, TypeScript with React, Next.js and NestJS, Flutter, and PostgreSQL, deployed with Docker and CI/CD.
- Does he build Arabic software?
- Yes. Every product he has built is Arabic-first and bilingual, including Arabic search, right-to-left interfaces, Arabic thermal receipts and Hijri dates.
- Where are his projects?
- Eighteen case studies are on moghalis.com/work, eleven of them live in production, with the role he played in each.