If you'd like a step by step guide on how to build this just CLICK THE IMAGE BELOW
Come and check out my YOUTUBE channel for lots more tutorials -> https://www.youtube.com/@johnweeksdev
LIKE, SUBSCRIBE, and SMASH THE NOTIFICATION BELL!!!
App-Video-Demo.mp4
Clone the project
git clone https://github.com/John-Weeks-Dev/ev-charge-map-api.git
Then
composer install
cp .env.example .env
php artisan cache:clear
composer dump-autoload
php artisan key:generate
php artisan serve
Create a DATABASE an then run the command
php artisan migrate
Now go to https://console.cloud.google.com/
Generate an API KEY.
You'll need to ENABLE Maps API, Directions API, Places API, and Distance Matrix API.
Add your new API KEY to the .env file
GOOGLE_MAPS_API_KEY=api-key
You should be good to go!