An Mapbox app that tracks subway and commuter trains in the Boston area.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Pulls data from the MBTA V3 API to track the subway and commuter trains in the Boston area on Mapbox using vanilla JavaScript. Async Functions, working with JSON data. MBTA V3 API
thewalkingduff
, train-tracker
, @duffManCode
, bduffy@devduffy.com
, Boston Train Tracker
To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://thewalkingduff.github.io/train-tracker/.git
- Install NPM packages
npm install
You can change the zoom of the map with your mouse. If you click on the train it will tell you what train line it is, whether it is stopped or moving and sometimes even the speed!
For more examples, please refer to the Documentation
I plan on adding a way to search by train or train stop and possibly finding out what train stop is next by clicking on the train.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Brendan Duffy - @duffManCode - bduffy@devduffy.com
Project Link: https://thewalkingduff.github.io/train-tracker/