- clone this repository
- Install dependencies by running:
yarn
- Create a .env file in the root of your application directory that then copy the environment variable in the .env.example file into then .env file you create
- add your google api key to the environment variable you just created
- Start the development server with the command:
yarn dev
- Once the server is running, open your web browser and go to:
http://localhost:5173/
The approach used in the project calculates the estimated time of arrival (ETA) and remaining distance to the next stop based on the average speed of 30 km/h. It continuously updates the ETA and distance remaining as the tracker moves towards the next stop, with a threshold distance of 0.05 km used for stop detection.