/Food-Delivery-System

A system for choosing the closest delivery partner for a food delivery organisation.

Primary LanguagePython

Food-Delivery-System

A system for choosing the closest delivery partner for a food delivery service.

/* Django - 2.2.2 Dango Rest Framework - 3.9.2 python - 3.6 */

run the app

python manage.py runserver enter http://127.0.0.1:8000/providers/ in the browser.

Delivery partners can be added using admin. admin username - servfect password - servfect

result

pick-up, drop coordinates, delivery partner name and total distance travelled.

Eculidean distance has been used as a measure for finding the closest delivery partner.

API for getting all Restaurants - http://127.0.0.1:8000/api/v1/restaurants/

API for getting all Delivery partners - http://127.0.0.1:8000/api/v1/Delivery/

API for getting all customers - http://127.0.0.1:8000/api/v1/all_user/