Tarkhineh — Multi-Branch Food Ordering & Reservation Platform

Multi-branch food ordering platform with manager/courier dashboards, smart dispatching, and secure access control.

  • Next.js
  • Tailwind CSS
  • Node.js
  • Express.js
  • MongoDB
  • Redis
  • Zustand
Tarkhineh desktop
Tarkhineh mobile right
Tarkhineh Experience

A multi-branch food ordering and reservation platform spanning 4 branches, supporting both online and in-person orders with pickup and courier delivery. The system features dedicated dashboards for managers and couriers, with a strong focus on reliable courier assignment and branch-scoped security.

Key Features

Challenges & Learnings

Distributed Concurrency with Redis

Managing real-time courier assignments across 4 branches meant dealing with potential race conditions. I implemented a distributed locking mechanism using Redis to ensure atomic order claims, preventing multiple couriers from accepting the same delivery during peak traffic.

Advanced RBAC & Data Isolation

Architecting a multi-branch system required a strict Role-Based Access Control (RBAC) strategy. I learned to design scoped database queries to ensure branch managers could only access their own data while maintaining a unified codebase for the entire platform.

Outcome

Tarkhineh was successfully deployed as a comprehensive management solution, effectively demonstrating my ability to handle large-scale, multi-tenant architectures. It serves as a robust proof of concept for solving complex operational challenges like real-time dispatching and cross-branch data synchronization in a high-traffic environment.