Back to Projects
// project-case-study

Jayak

Jayak is a B2B delivery platform built to be a unified delivery solution for the Iraqi market — a system that merchants, e-commerce platforms, and businesses could plug into and use as their delivery backbone. The vision was bigger than a single client's dashboard: it was infrastructure. A platform that could serve multiple merchants simultaneously, power driver mobile apps, support admin operations, and open the door for third-party integrations down the line.
I was the lead backend developer on this project.

// the-challenge

The hardest part of this project was not technical — it was contextual. I joined mid-project. The system was already live, already serving thousands of customers, and already carrying the full weight of a production e-commerce platform. There was no onboarding period. There was no time to slowly get familiar. I had to understand a large, complex codebase, learn the full business flow — how orders moved between customers, sellers, the warehouse, and drivers — and start contributing meaningfully, all at the same time.
Joining a live production system at scale is a completely different experience from building something from scratch. Every decision carries real consequences. A wrong query hits a real database. A missed edge case breaks a real order for a real customer. That reality sharpens you quickly.

// the-solution

The answer was a modular monolith inspired by the patterns in Laravel Beyond CRUD. The codebase was divided into well-defined domains — each domain fully self-contained with its own models, services, actions, and business logic. No domain bleeds into another. Each one can be reasoned about, tested, and modified independently.
This structure gave the project two things at once: the simplicity of a monolith during development and deployment, and the separation of concerns you'd expect from a much more complex architecture. It was the right call for a system that needed to scale in complexity without scaling in chaos.
The full shipment lifecycle was implemented end-to-end — merchant submission, driver pickup, warehouse assembly, and final customer delivery — across multiple roles with their own permissions, workflows, and interfaces. Admin dashboards were built using Filament, Laravel's native UI framework on Livewire, which allowed rapid internal tooling without compromising the backend architecture.

// the-outcome

Jayak was the project where my backend thinking matured. It was the first time I had the opportunity to take a serious architectural approach from day one — not refactoring into good structure later, but building it right from the beginning. The result was one of the cleanest Laravel codebases I've written, and a system genuinely designed to grow — new merchants, new integrations, new features — without the architecture becoming a liability.
Reading the book and then immediately applying it on a production system was one of the most valuable learning experiences of my career.

// next-iteration

Stage Beauty Center

View Project
Hussein Mohamed © 2026 Built with Nuxt · TypeScript · Tailwind