Closed simonprickett closed 2 years ago
Add an extra route to the Flask backend that uses the Redis GEODIST command to return the distance in miles between two specified stations.
GEODIST
It should be at /api/distance/<first_station_name>/<second_station_name>/<distance_unit>.
/api/distance/<first_station_name>/<second_station_name>/<distance_unit>
Documentation for the GEODIST command can be found here: https://redis.io/commands/geodist
This is part of our participation in Hacktoberfest 2021. Learn how to complete this issue here: https://developer.redis.com/hacktoberfest/
Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3
Can I take this up
@DiptoChakrabarty absolutely! Check out our guide at https://developer.redis.com/hacktoberfest and have fun! Thanks!
Add an extra route to the Flask backend that uses the Redis
GEODIST
command to return the distance in miles between two specified stations.It should be at
/api/distance/<first_station_name>/<second_station_name>/<distance_unit>
.Documentation for the
GEODIST
command can be found here: https://redis.io/commands/geodistThis is part of our participation in Hacktoberfest 2021. Learn how to complete this issue here: https://developer.redis.com/hacktoberfest/
Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3