Skip to content

jackyscript/travel-comp

Repository files navigation

Travel-Comp

Open this app at https://jackyscript.github.io/travel-comp/

Data Source

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 $fetch from the client.

See the full API documentation for all available endpoints and parameters.

API Health

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).

Setup

Make sure to install dependencies:

# npm
npm install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

Production

Build the application for production:

# npm
npm run build

Check out the deployment documentation for more information.

About

Travel comp(anion) app for Berlin/Brandenburg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors