Open this app at https://jackyscript.github.io/travel-comp/
This app uses the v6.vbb.transport.rest API — a free, CORS-enabled REST API for real-time public transit data in the Berlin/Brandenburg (VBB) network.
- Locations: Search stations via
GET /locations?query=… - Departures: Fetch live departures via
GET /stops/:id/departures - No API key required — just
$fetchfrom the client.
See the full API documentation for all available endpoints and parameters.
Startup status is monitored via UptimeRobot. The station search page displays a chip showing Online / Offline / Checking… based on the monitor status, fetched from https://stats.uptimerobot.com/api/getMonitor/57wNLs39M?m=793274559. Status is polled every 5 minutes (matching UptimeRobot's check interval).
Make sure to install dependencies:
# npm
npm installStart the development server on http://localhost:3000:
# npm
npm run devBuild the application for production:
# npm
npm run build
Check out the deployment documentation for more information.