Skip to content
Back to Projects
Web AppsFeatured project

Shams
Optical Retail Platform

Commerce and operations platform for an optical chain: Arabic RTL storefront, lens configurator, multi-branch inventory, orders, returns, POS and reports.

Shams — Optical Retail Platform
Status
In progress
Role
Full-Stack Developer
Year
2026
Project type
Web Apps

Overview

Overview

A modular monolith for an Egyptian optical chain. It covers the storefront, a prescription-lens configurator, branch inventory, orders, returns, CRM, purchasing, promotions, loyalty, staff roles, a CMS, analytics and a point of sale.

The Challenge

Keep stock, money and permissions correct across several branches and many staff roles, while the storefront stays Arabic-first and fast.

The Solution

Integer-piaster money and VAT engine, append-only ledgers enforced by database triggers, server-enforced branch-scoped RBAC, a Postgres job queue, an audit log, a per-request CSP and an automated test and CI pipeline.

The Results

Source is public. The project is under development and is not deployed yet. Payments are verified with a sandbox gateway only; Paymob needs live credentials and has not been verified against the live service.

Key Features

  • 73 database models
  • 52 permissions and 11 system roles
  • Lens configurator with a server-authoritative price matrix
  • Multi-branch inventory with append-only movements
  • Orders, returns, loyalty and payments abstraction
  • Point of sale and reports
  • Append-only audit log
  • Arabic RTL storefront

Project Screenshots

A closer look at the product and its key screens.

Shams admin console

Shams admin console · 1 / 1

Tech Stack

Technologies used to build this project.

  • Next.js
  • React
  • TypeScript
  • Prisma
  • PostgreSQL
  • Tailwind CSS
  • better-auth
  • Vitest
  • Playwright

Project Details

Key information about this project.

Status
In progress
Role
Full-Stack Developer
Year
2026
Project type
Web Apps

My Responsibilities

Key areas I was responsible for.

  • Architecture and database design
  • Backend services and business rules
  • Authentication and role-based access
  • Storefront and admin interface
  • Testing and CI

Next project

Hesban — Offline Arabic POS

Next project

Have a project in mind?