nodejsapi_coordinate_2_distance based on: https://blog.logrocket.com/build-a-location-analytics-api-in-node-js/