Skip to content

Micro-SaaS para Visualização de Indicadores de Negócios com Integração ao TinyERP

Notifications You must be signed in to change notification settings

devbrunocorrea/dashtrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DashTrack

Laravel Tests

Micro-SaaS para Visualização de Indicadores de Negócios com Integração ao TinyERP

Tecnologias:

  • PHP
  • Laravel
  • Laravel Breeze
  • OpenAPI (L5-Swagger)
  • AdminLTE
  • Integração com TinyERP
  • Docker (sem Laravel/Sail)
  • PHPMyAdmin
  • Nginx

Requisitos:

  • docker
  • docker-compose

Instalação:

Execute o comando:

./setup

*** Será solicitado o preenchimento do token autenticação da TinyERP na variável de ambiente TINYERP_TOKEN no arquivo .env:

TINYERP_TOKEN=TOKEN

Parar execução:

./stop

Iniciar novamente:

./start

Testes:

php artisan test

Acesso:

http://127.0.0.1:8080

API

http://127.0.0.1:8080/api

Documentação da API - OpenAPI (Swagger)

http://127.0.0.1:8080/api/documentation

PHPMyAdmin:

http://127.0.0.1:8081

  • Login: root
  • Senha: root

Principais rotas:

  • /api
  • /api/documentation
  • /register
  • /login
  • /logout
  • /dashboard
  • /dashboard/settings

Commands:

php artisan dashtrack:check
php artisan dashtrack:sync

Estrutura:

flowchart TD
    TinyERP ==>|GET| TinyERPService
    MySQL[(MySQL)] -.->Controller
    MySQL[(MySQL)] -.->API
    TinyERPService ==> Console(dashtrack:sync)
    TinyERPService --> Console2(dashtrack:check)
    TinyERPService --> Controller
    TinyERPService --> API
    Console ==>|persist|MySQL[(MySQL)]
    Controller ==>|/dashboard| Web
    API -->|/api/| Web
    OpenAPI -->|/api/documentation|Web
Loading

About

Micro-SaaS para Visualização de Indicadores de Negócios com Integração ao TinyERP

Resources

Stars

Watchers

Forks