net-art-uchicago / cta-file-sharing

a collaborative artware project by Media Art and Design students at the University of Chicago.
GNU General Public License v3.0
2 stars 15 forks source link

Endpoint to CTA Handler (Finding routes from closest stop to user) #38

Closed akhaiat2 closed 1 year ago

akhaiat2 commented 1 year ago

Ben and I added an endpoint to the CTA-Handler.js file which returns a JSON containing the closest distance from the user to a CTA stop (searches through all CTA stops) and the routes which pass through the stop. This is for Front-End to implement to the user to choose what route they are going on.

Screen Shot 2022-11-29 at 3 11 11 PM