carlosfgti / laravel8-to-do-list

To-do List com Laravel 8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel API To-do List (Com Service Layer, Repositories e Tests)

PT-BR - Assine a Academy, e Seja VIP!

Passo a passo

Clone Repositório

git clone https://github.com/carlosfgti/laravel8-to-do-list.git
cd laravel8-to-do-list/

Crie o Arquivo .env

cp .env.example .env

Atualize as variáveis de ambiente do arquivo .env

APP_NAME="Laravel To-do List"
APP_URL=http://localhost:8180

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=nome_que_desejar_db
DB_USERNAME=root
DB_PASSWORD=root

CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis

REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379

Suba os containers do projeto

docker-compose up -d

Acessar o container

docker-compose exec laravel_8 bash

Instalar as dependências do projeto

composer install

Gerar a key do projeto Laravel

php artisan key:generate

Acesse o projeto http://localhost:8180

About

To-do List com Laravel 8


Languages

Language:PHP 82.1%Language:Blade 16.3%Language:Shell 0.8%Language:Dockerfile 0.8%