Skip to content

Gets and displays public transit info around Bronx Science

License

Notifications You must be signed in to change notification settings

Techno3d/TransitArrivalBoard

Repository files navigation

Transit Arrival Board

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.

Build Instructions

Environment Variables

Create a .env file and add the following variables.

MTABUSKEY

The MTA's BusTime feeds require an API key, which you can obtain here.

Dependencies

Install the following dependencies.

Deploying

The webpage can be found at http:https://localhost:3000/ after deploying.

Development

Open 2 terminals and run the following commands.

cargo run
npm install
npm run dev

Production

Open 2 terminals and run the following commands.

Note: start is a command only found on Windows.

cargo build --release
start .\target\release\transit-board.exe
npm install
npm run build
npm run start

About

Gets and displays public transit info around Bronx Science

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages