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


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
Tech Stack
Next.js
Full-stack React framework with SSR, PPR, and Server Actions
Tailwind CSS
Utility-first styling for modern, responsive UIs
Node.js
JavaScript runtime for building scalable server-side apps
Express.js
Minimal web framework with routing and middleware patterns
MongoDB
Document database with flexible schemas and aggregation
Redis
In-memory data store for caching, queues, and pub/sub
Zustand
Minimal global state management with hooks
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.
