Application showing real-time vehicle data.
The application shows the position of public transport vehicles in real time - if available or according to the timetable. If there is more than one line, you can select the line you are interested in from the side panel. After clicking on the stop, he can see the timetable for today or the next days. After clicking on the vehicle icon, we can see the three nearest stops.
There is a config file for a few agencies.
This project was bootstrapped with Create React App.
npm ci
.env.example
to .env
and edit the .env
file to set an app name, API key, and API server URL. More configuration options are available in config.ts
.npm start
or do build: npm run build
./app
, e.g. /app
/app/route/[routeId]
, e.g. /app/route/172
/app/stop/[stopId]
, e.g. /app/stop/1211_399
/app/date/[selectedDate]/stop/[stopId]
,
e.g. /app/date/2023-04-04/stop/1211_399
/app/vehicle/[vehicleId]
, e.g. /app/vehicle/359633108368049
/stopIds/[stopId,stopId,stopId]
, e.g.
/stopIds/1211_48,1211_389,1211_999