Contains all the functionality described in https://github.com/net-art-uchicago/cta-file-sharing/issues/4. Returns JSONS.
For /api/cta-routes --> returns a JSON which is an array of routes
For /api/cta-near-stop --> returns a JSON which returns the distance between user and shortest stop (still need to edit to receive user's current location)
For /api/cta-bus-distance --> returns a JSON which returns the distance between the user and the nearest bus on their route.
*Addressed all of the issues from first PR (coding style, additional lines of code deleted, and feature branch workflow)
Contains all the functionality described in https://github.com/net-art-uchicago/cta-file-sharing/issues/4. Returns JSONS. For /api/cta-routes --> returns a JSON which is an array of routes For /api/cta-near-stop --> returns a JSON which returns the distance between user and shortest stop (still need to edit to receive user's current location) For /api/cta-bus-distance --> returns a JSON which returns the distance between the user and the nearest bus on their route.
*Addressed all of the issues from first PR (coding style, additional lines of code deleted, and feature branch workflow)