devcarlosdaniel / scriba

Scriba counts on the good practices of Service Layer, Repository Pattern, Presenter Pattern and Data Transfer Object (DTO) Pattern, with the Laravel framework, in its version 10. The system is a forum, where users can create tickets, and interact with other users' tickets. Whenever your call is answered, you are notified by email.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passo a passo

Clone Repositório

git clone -b https://github.com/danielrosenosi/scriba-laravel-10.git scriba
cd scriba

Crie o Arquivo .env

cp .env.example .env

Atualize as variáveis de ambiente do arquivo .env

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=nome_que_desejar_db
DB_USERNAME=nome_usuario
DB_PASSWORD=senha_aqui

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

Acesse o container app

docker compose exec app bash

Instale as dependências do projeto

composer install

Gere a key do projeto Laravel

php artisan key:generate

Fora do container Docker, instale as demais dependências do projeto

npm install

Acesse o projeto http://localhost:8989

About

Scriba counts on the good practices of Service Layer, Repository Pattern, Presenter Pattern and Data Transfer Object (DTO) Pattern, with the Laravel framework, in its version 10. The system is a forum, where users can create tickets, and interact with other users' tickets. Whenever your call is answered, you are notified by email.


Languages

Language:PHP 66.8%Language:Blade 32.3%Language:JavaScript 0.4%Language:Dockerfile 0.4%Language:CSS 0.0%