Skip to content

App Laravel with API Google Maps - Ambiente de estudo e testes

Notifications You must be signed in to change notification settings

claudiomecenas/LaraMaps

Repository files navigation

Print ex

  • Setup Docker com mysql e phpmyadmin

Passo a passo

Clone Repositório

git clone -b main https://github.com/claudiomecenas/setup-docker-laravel-11-BR.git app-laravel
cd app-laravel

Crie o Arquivo .env

cp .env.example .env

Adicione sua API KEY ao .env

GOOGLE_MAPS_API_KEY=your_api_key_here  

Edite o .env para usar Redis

SESSION_DRIVER=redis
QUEUE_CONNECTION=redis  
CACHE_STORE=redis  
REDIS_HOST=redis  

Suba os containers do projeto

docker compose up -d

Acesse o container app

docker compose exec app bash

Instale as dependências do projeto

composer install
composer update

Gere a key do projeto Laravel

php artisan key:generate

Rodar as migrations

php artisan migrate

Acesse o projeto http://localhost:8989

Google Maps JavaScript SDK

npm install @google/maps  
  • npm warn deprecated @google/[email protected]: Please use @googlemaps/google-maps-services-js instead.

About

App Laravel with API Google Maps - Ambiente de estudo e testes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published