Navigation
  • Home
  • Work
  • About
  • Writing
  • Contact
Socials
LinkedInGitHubEmailResume
Delivery Operations Admin
Code by AsjadAsjad Anwar
  • Home
  • Work
  • About
  • Writing
  • Contact
Next.js · Logistics operations

Delivery Operations Admin

Delivery Operations Admin: Calendar of scheduled routes with pending routes to drag in
Role
Front-end engineer
Platform
Web
Stack
Next.js 13, React 18, TypeScript, MUI, Redux Toolkit, Formik, Yup, FullCalendar

An operations console for a delivery business that runs its routes through contractors. Staff plan routes on a calendar, and each new contractor completes a seven-step onboarding before they can take one. The client name is withheld and the screens show invented data.

The problem

Routes were assigned and contractors were signed up by hand. The business needed one place where staff schedule routes, customers see theirs, and a contractor cannot be given work until their paperwork is complete.

What I built

  • Six roles, from admin and regional manager down to contractor and customer, each with its own menu and its own pages, enforced by a guard on every page.
  • A calendar of scheduled routes in month, week, day and list views, with a side panel of pending routes that staff filter by customer and location and drag onto a date to schedule.
  • Route screens for each role: staff create and remove routes, while contractors see pending, active, past and available routes and accept or decline them.
  • A seven-step onboarding wizard: personal and licence details, emergency contact, vehicles, subcontractors, three agreements, payment details and document upload. A signed-in contractor who has not finished is sent back to it.
  • Screens for regions, customers with their locations and billing, users and subcontractors.

The hard part

The onboarding wizard. Its rules depend on earlier answers, so validation is conditional: some fields become required only when another is set. Each agreement can be signed only after it has been scrolled to the end and acknowledged, and the document step tracks every required file as pending or uploaded.

Result

One console for scheduling, contractors and customers, built on an MUI admin template with about 10,000 lines of application code on top: 14 state slices, 12 validated forms and the wizard.

Delivery Operations Admin: Routes with vehicle size and days of the weekDelivery Operations Admin: Subcontractors listDelivery Operations Admin: Document step of contractor onboarding
Next projectRide Booking Bot API

Let’s work
together

Get in touch
theasjadanwar@gmail.com+92 321 4010734Resume (PDF)LinkedInGitHub
Based inLahore, Pakistan (UTC+5)
SocialsLinkedInGitHub