Skip to content

Latest commit

 

History

History

web

@commutelive/web

This package is the main frontend of Commute.live, which provides a user-friendly interface to view vehicles on one or more public transport routes.

Deployed on GitHub Pages.

Environmental variables

See the example .env file. A default value of ⭐ indicates that the variable is required.

Name Description Type Default
API_URL Base URL for the Commute.live backend. string
WS_URL WebSocket connection URL for the Commute.live backend. string
PWA_BASE_URL URL that this webpage will be hosted at. string
GMAPS_KEY API key for Google Maps. string
GTAG_ID Google tag for analytics / advertising. string
LINK_GITHUB Link to the main Commute.live GitHub repository. string
LINK_GITHUB_CLIENT Link to the website section of Commute.live GitHub repository. string
LINK_GITHUB_SERVER Link to the backend section of Commute.live GitHub repository. string