From a large JSON payload calculates the distance between a supplied point of origin cordinate and the data, sorts it, and returns the nearest x results.
- Run tests with
./mvnw test
- Start your function locally
sf run function start --verbose
- Invoke your function locally
sf run function --function-url=http://localhost:8080 --payload=@data/sample-payload.json