Source code for the Airport Bus UI at https://kia.bengawalk.com/
For additional help/information, please join the Discord chat
In the repository root, run:
yarn install
yarn startThe search functionality uses Google maps Places API. For the search to work, create a .env file in the root folder of the repo with the below contents:
VITE_GOOGLE_API_KEY=insert_google_api_key_here- Add an entry to
BUS_DATAarray inutils/constants.js - Follow the below steps to add the timings, intermediate stops and map path
- Add/edit corresponding row for
routenameinsrc/utils/timings.tsv - These are
HH:mmentries for timings at the starting point
- Add/edit corresponding file for
routenameinscripts/stops_responses/en. - The json file is taken from the Raw BMTC API data at Vonter/bmtc-gtfs
- Add rows in
scripts/bmtc_api_data.csvfor the routename - Run
cd scripts, andnode get_stops.js
- Add/edit corresponding geojson file for
routenameinscripts/routeline_data - Run
cd scripts, andnode get_routelines.mjs
