Show restaurants for users based on their location. My idea is to create a rectangular/circle area around each user ex. 5km radius. So we don’t show them all the restaurants there are but only those that we can deliver food from.
Tools that may help:
For efficient and easy operations with longitude/latitude we will be using PostGIS extension for PostgreSQL, the tool is easy and our use case is almost the same (maybe even the same) as in this video
Show restaurants for users based on their location. My idea is to create a rectangular/circle area around each user ex. 5km radius. So we don’t show them all the restaurants there are but only those that we can deliver food from. Tools that may help: