All projects
ordradesk.sh

OrdraDesk

Shipped

Web order desk for distribution companies — role-based workflows across field reps, office staff, and distributors, with AI-assisted order management.

Full-stack engineer

ordradesk.vercel.app
OrdraDesk screenshot

ordradesk_case_study.sh

~/projects cat ordradesk_case_study.txt

// Problem

Distribution and supplier businesses still run orders on paper and scattered spreadsheets — field reps visit shops, office staff reconcile manually, and distributors get assignments by phone. Multi-product operations with many employees need one system with clear roles, not physical ledgers.

// What I built

I built OrdraDesk as a Next.js web application for distribution companies managing orders across multiple desks and product lines. Field staff capture orders from client shops, office staff arrange and assign them to distributors, and each role sees only what they need — replacing paper trails with a single digital workflow. Built on Firebase/Firestore, better-auth with role-based access, TanStack Query, AI SDK (Groq) for assisted order flows, and Excel/PDF export helpers.

// Architecture

Next.js App Router frontend with TanStack Query for data fetching. Firebase/Firestore as the primary datastore. better-auth handles authentication and role-based access across field rep, office staff, distributor, and admin personas. AI SDK (Groq) powers assisted order entry and workflow suggestions. ExcelJS and jsPDF generate export artifacts for reporting.

// Stack

Next.js TypeScript React Firebase better-auth TanStack Query AI SDK Tailwind Zod

// Outcomes

  • ▸ End-to-end order flow: field capture → office arrangement → distributor fulfillment
  • ▸ Role-based access so each employee sees only their part of the workflow
  • ▸ Replaces paper-based order tracking for multi-product distribution businesses
  • ▸ AI-assisted order workflows integrated into daily operations
  • ▸ Live deployment at ordradesk.vercel.app