Sem descrição

gdias 01e4069e2c fix the migrations há 3 semanas atrás
bin 192195b296 ERRO_LOG + LAST TSHIELD PROBLEM há 3 semanas atrás
controllers bac0fefd1b feat: cpr company history há 3 semanas atrás
libs 09d4e322a4 time out changes há 2 meses atrás
middlewares a440ad4b62 feat: user and company id in cpr register há 3 semanas atrás
migrations 01e4069e2c fix the migrations há 3 semanas atrás
models bac0fefd1b feat: cpr company history há 3 semanas atrás
public bac0fefd1b feat: cpr company history há 3 semanas atrás
services 5b8a8d77ec fix tshield há 3 semanas atrás
test 923be81ed4 changes to token_create_test.php há 2 meses atrás
.env.example 192195b296 ERRO_LOG + LAST TSHIELD PROBLEM há 3 semanas atrás
.gitignore 898fa1b989 new: implementation of the auth token from B3 há 1 mês atrás
README.md 898fa1b989 new: implementation of the auth token from B3 há 1 mês atrás
TODO.md f7a124e508 token creation service há 2 meses atrás
composer.json 906aaa2091 feat: add request validators to controllers há 2 meses atrás
composer.lock ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) há 2 meses atrás
package.json 1c792098f3 migration token changes há 2 meses atrás
php-api_1.0.0_all.deb a431b88a56 debian package support há 5 meses atrás
routes.md b53ac4d3d4 B3 CPR register fixes há 1 mês atrás
test_bash_executor.php 61fba5e31a Inicial commit há 2 meses atrás

README.md

  1. run ./bin/setup

(deleta o banco existente, cria o banco de dados com as credenciais do ENV e aplica migrations)

  1. run composer install (instala dependencias)

  2. run X_LISTEN=127.0.0.1:8000 php public/index.php

    fpm -s dir -t deb \
    -n php-api -v 1.0.0 \
    -C build/php-api \
    --prefix / \
    --description "API PHP php-api (SmartPay)" \
    --license "Proprietary" \
    --vendor "SmartPay" \
    --maintainer "lucas.joaquim@smartpay.com.vc" \
    --architecture all \
    --deb-no-default-config-files \
    --config-files /etc/php-api \
    --depends "php8.2-cli | php-cli (>= 8.2)" \
    opt/php-api etc/php-api var/log/php-api
    Created package {:path=>"php-api_1.0.0_all.deb"}