A hobby project that uses the MTA's GTFS static and realtime feeds to get realtime transit info about public transit near our high school, The Bronx High School of Science.
Create a .env
file and add the following variables.
The MTA's BusTime feeds require an API key, which you can obtain here.
Install the following dependencies.
The webpage can be found at https://localhost:3000/ after deploying.
Open 2 terminals and run the following commands.
cargo test
cargo run
npm install
npm run dev
Open 2 terminals and run the following commands.
Note:
start
is a command only found on Windows.
cargo test
cargo build --release
start .\target\release\transit-board.exe
npm install
npm run build
npm run start