Design DoorDash
Design an on-demand food delivery platform: customers browse nearby restaurants and order, restaurants accept and prepare the order, and couriers are assigned to pick it up and deliver it while everyone tracks progress.
Cover search for nearby restaurants, the cart and how it is persisted, placing and paying for orders, the order state machine, courier assignment, live tracking, and where you trade consistency for availability.
No answer yet. Write the first one; the best answer gets endorsed.
