Morabba Team Operations
An internal team dashboard and API for orders, inventory, fulfillment, providers and operating exceptions.
Overview
The team panel supports daily fulfillment operations across a dedicated operator interface, API and customer order-status application. It handles legacy storefront orders and provider operations alongside the separate Morabba commerce platform.
Contribution
The fulfillment and team tooling is part of the Morabba project portfolio. This case study describes capabilities verified in the team panel and backend source.
Technologies
TypeScript, Next.js, React, Tailwind CSS, Fastify, Node.js, PostgreSQL, Prisma, Redis, Zod, Pino, Reloadly API, Vitest
Inside the system.
Operator interface and API
The team panel is a separate Next.js application backed by a Fastify API. The dashboard loads records through JSON endpoints. Shared TypeScript types and status definitions help the API and Arabic interface represent the same workflows.
- Orders, queues, inventory, accounts and operator tasks
- Catalog, customer, vendor and integration views
- Bulk operations and shared status definitions
- Input validation using Zod and structured logs with Pino
Order intake and status tracking
The API receives storefront and provider events, associates them with order records and records operational changes. The team order desk displays the state of the order and the actions available to the operator. Gift card and airtime flows have separate processing and tracking.
- RMZ order-event intake and provider event handling
- Order history, status filtering and refund views
- Gift card and airtime order views
- Customer-facing order status as a separate application
Inventory assignment
Allocation is handled by a shared service used by the matcher and operator workflows. Assignment updates are coordinated in the backend and committed through PostgreSQL transactions, protecting inventory against concurrent allocation. Staff can withdraw or reassign stock when an order needs correction.
- Matching orders with suitable inventory
- Transactional assignment and reassignment
- Operator workflow for fulfillment exceptions
- Tracking stock, accounts and vendor supply
Provider jobs and operations
Provider clients normalize operations for digital goods and airtime. Background jobs handle fulfillment work and retry decisions. Separate catalog tools refresh provider products and balance information for operations staff.
- Reloadly catalog, gift card and airtime integration
- Background fulfillment and status reconciliation
- Provider transactions, wallet and balance views
- Operations analytics, notifications and task queues