Developed by TransitMatters Labs
Shows new MBTA Orange, Red, and Green Line trains as they come into service.
Dependencies:
node 20.x
(with npm 10.x
)python 3.12
poetry
poetry
is using the correct Python version by running poetry env use <your python3.12 binary>
Run:
$ npm install
$ npm start
To use an API key, put it as an environment variable MBTA_V3_API_KEY
To lint frontend and backend code, run $ npm run lint
in the root directory
To lint just frontend code, run $ npm run lint-frontend
To lint just backend code, run $ npm run lint-backend
aws cloudformation describe-stacks | wc -l
should workTM_NTT_CERT_ARN
(for production)TM_LABS_WILDCARD_CERT_ARN
(for beta & production)transitmatters-ntt
needs to be available in your AWS account and copied to ~/.ssh/transitmatters-ntt.pem
../deploy.sh
(add -p
for production) to deploy.This project generally fits the "Chalice app" mold. Contact us if you need help: labs@transitmatters.org
If you've found this app helpful or interesting, please consider donating to TransitMatters to help support our mission to provide data-driven advocacy for a more reliable, sustainable, and equitable transit system in Metropolitan Boston.