Location (Long/Lat) based queries

I need to create a filter for location, such as:

“Show me X with 10 miles” “Show me X with 20 miles”

I am using strapi with a postgres DB and wondering what my best option for this is.

I currently just get the address from the user.

Has anybody had any experience with this and can share their thoughts?

I am looking into integrating PostGIS currently and handling my searches that way.