# Food delivery app

**URL:** <https://community.glideapps.com/t/food-delivery-app/80832>\
**Category:** Ask for Help\
**Created:** [March 19, 2025, 4:25am UTC](https://community.glideapps.com/t/food-delivery-app/80832 "2025-03-19T04:25:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adamwarsaw](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adamwarsaw/32/87286_2.png) [@Adamwarsaw](https://community.glideapps.com/u/Adamwarsaw)\
**Post date:** [March 19, 2025, 4:25am UTC](https://community.glideapps.com/t/food-delivery-app/80832/1 "2025-03-19T04:25:19Z")

</div>

Hi all,

I’m building a food delivery app, and I’m trying to create a way for this to automatically assign the nearest courier from a restaurant to receive an order.

I’ve managed to use distance columns and an array column to sort different couriers based on their distance from nearest to farthest from the restaurant. Then, I used a rollup column to find the nearest (shortest) distance.

The next step is to create a column which would write the name of the courier who matches this nearest distance from the restaurant, so he can be assigned the order of the restaurant.

Any help or leads would be really appreciated.

Thanks!  
Adam

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 19, 2025, 10:31am UTC](https://community.glideapps.com/t/food-delivery-app/80832/2 "2025-03-19T10:31:59Z")

</div>

> [@Geolocation for permanent Tracking](https://community.glideapps.com/t/geolocation-for-permanent-tracking/76817/2):
>
> I’m going to be honest here. I don’t think a web app is well suited for something like this. I say that because it requires an app to be open and active on the screen at all times. Turning the screen off or switching to a different app on your device is going to kill that connection, so drivers would not be able to use their device for anything else or be able to turn the screen off. Plus, for it to work with the native location component, it would require constant and rapid updates to the t…
