Metanas POS
A white-label point-of-sale platform for UAE restaurants and supermarkets, with one React Native monorepo shared by the cashier, kitchen and loyalty apps.
- Industry
- Retail and restaurants, point of sale
- Company
- Crayond Digital
- My role
- Senior Software Engineer, mobile architecture and team lead
- Platforms
- Android & iOS tablets, Separate React web apps
- Team
- Up to 7 (web, mobile, backend)
Built and deployed, not commercially adopted
- apps on one monorepo
- 3
- engineers led across web, mobile and backend
- 7
- bilingual with RTL
- EN and AR
Tablet screens from the app. Product names, prices and customer details are sample data.
Overview
In short
- Set up the React Native monorepo with Turborepo and Yarn Workspaces for the cashier, kitchen and customer loyalty apps.
- Laid the groundwork for generating a branded native app for each customer.
- Owned inventory, cart and sales on the frontend from start to finish.
- In-app barcode scanning, thermal receipt printing, and English/Arabic with right-to-left layouts.
- Led a cross-functional team of up to seven.
Metanas was a white-label POS for restaurants and supermarkets in the UAE. It covered cashier sessions, sales, inventory, loyalty, returns and reports across multiple stores, mainly on tablets, in English and Arabic.
Three mobile apps (cashier, kitchen and customer loyalty) needed the same UI and tooling, and each customer business needed its own branded build.
What I owned
- Monorepo setup and shared tooling
- Groundwork for per-customer native app generation
- Inventory management, end to end on the frontend
- Cart and core sales flows
- Barcode scanning and thermal printer integration
- English/Arabic support with RTL
- Leading three web, three mobile and one backend developer
Built by others
The multi-tenant backend was owned by the backend developer.
The web apps were separate React projects built by the web developers I led (not React Native Web).
1. One monorepo, three apps
- Problem
The cashier, kitchen and loyalty apps share most of their UI and all of their tooling. Three separate repos would have meant three copies of everything.
- How
- Yarn Workspaces for apps/* and components/*, with Turborepo running tasks across them.
- Shared UI components and responsive sizing utilities in their own packages.
- Shared ESLint and TypeScript configuration, Plop generators for new typed components, tsup for building packages, plus Husky and Changesets.
- Metro set up to resolve symlinked workspace packages.
pos-mobile/
├── apps/
│ ├── cashier/
│ ├── kitchen/
│ └── customer-loyalty/
├── components/
│ ├── shared-ui/
│ └── normalize/ # responsive sizing helpers
├── turbo.json
└── package.json # Yarn workspaces2. Groundwork for branded customer builds
- Context
Each restaurant or supermarket needed its own app name, identifier and branding, all from the same codebase. I designed and set up the groundwork: scripts that generate the app config and copy native Android and iOS templates with each customer's name and bundle identifiers applied.
3. Inventory, cart and sales
- What I did
- Inventory: stock listing, purchases, stock-in, transfers between stores, stock adjustments, transaction history, and separate purchase, selling and stock units of measure.
- Sales: catalogue search, barcode scanning, variants and add-ons, quantities, discounts and cart state on a tablet layout.
- Zustand for client state such as the cart, and TanStack Query for server data.
4. Hardware and language
- What I did
- Barcode scanning with the device camera, so no separate scanner is needed.
- Thermal receipt printing through a third-party package.
- English and Arabic throughout, with right-to-left layouts.
Next case study
Montra Connect