HN
← Back to ProjectsCase study · 03 / 09

Ghaima

Menu & Directory Platform for Vape Shops in Iraq

Ghaima

Description

An Arabic-first subscription SaaS for Iraqi vape shops, restricted to adults (18+). Each store publishes a branded menu with its own name, logo, colors, and QR code, and manages products, prices, and inventory from a dashboard. Stores can opt into a public directory so nearby customers can find them, with location shared via GPS or a self-hosted map pin rather than an external geocoding service. Higher-tier plans add a cart, ordering, delivery, order tracking, staff accounts, reviews, and reporting. Store data is isolated at the database level with Row-Level Security layered on top of server-side permission checks, and the platform is covered by over 250 automated tests.

System Architecture

Interactive structural overview of components, data pipelines, and infrastructure.

Presentation / Client

TanStack Start (React)

Client-side UI
Application Services

Server Functions

Server API logic

Better Auth

Server API logic
Storage & Integration

PostgreSQL + Prisma (RLS)

Data Store
Hover or click on any system node to inspect architectural specifications.

Project Gallery

Detailed visual walkthrough and interface highlights of this project.

Next projectIMA Portal