Thank you for purchasing SchoolBusTrack. If you have any questions that are beyond the scope of this help file, please feel free to contact me via my user page contact form at CodeCanyon. Thanks so much!

If you did not install the product before, please go to the documentation folder.


If you already purchased and installed the product and you want to upgrade to V2.1 only, please follow the following steps. Please also check the configuration section in the documentation of the backend.

What is new?
-------------
The update adds the following to the system.

1 - We have updated the system to handle the new APIs by Google Maps, started on March, 1st, 2025. Google drops the direction API and replace it with a new Route API. This update integrates this new API.
2 - Some bug fixes.


Backend upgrade guide
---------------------
1 - Overwrite the files at the following folders with the files provided in the updated code.

front-end/src/views/trips/steps/step2.vue
app/Http/Controllers/Api/SettingController.php
app/Http/Controllers/Api/UserController.php
front-end/src/views/settings/index.vue
routes/api.php
front-end/src/views/system-setup/routes/create-edit.vue
front-end/src/views/start-pages/Register.vue

2 - Add these new files:

database/migrations/2021_08_01_000052_add_admin_info_to_settings_table.php
app/Http/Controllers/Api/GoogleRouteController.php
app/Services/GoogleRoutesService.php

3 - add to your .env file the following:
GOOGLE_MAPS_API_KEY= "Your Google Maps API key"


4 - Run the following:

php artisan migrate

5 - Run the following:

cd front-end
npm install
npm run build && cp -r dist/* ../public/


