This is the base repository for Web App project. Please read the instructions for details.
This web app helps users find the nearest MBTA station to a given place name and tells them whether it's wheelchair accessible.
- Uses the Mapbox Geocoding API to convert a place name into coordinates
- Uses the MBTA API to find the closest subway or bus stop
- Displays accessibility information
- Built with Python and Flask
- Simple form-based web interface
- The user enters a location into the web form.
- The app fetches coordinates using Mapbox.
- It uses those coordinates to get the nearest MBTA stop from the MBTA API.
- The result is displayed on the page.
- Python
- Flask
- Jupyter Notebook (for development)
- HTML (basic template)
- APIs: Mapbox & MBTA
- dotenv (for safely storing API keys)
-
Clone the repo:
-
Create a
.envfile and add your keys: