Brak opisu

gdias 307a4e1f7e add the fields on backend need dont finished 3 tygodni temu
bin 5c5203ad6e patch: update setup file in order to match migrations update 3 tygodni temu
controllers 307a4e1f7e add the fields on backend need dont finished 3 tygodni temu
libs 09d4e322a4 time out changes 2 miesięcy temu
middlewares a440ad4b62 feat: user and company id in cpr register 3 tygodni temu
migrations 01e4069e2c fix the migrations 3 tygodni temu
models bac0fefd1b feat: cpr company history 3 tygodni temu
public bac0fefd1b feat: cpr company history 3 tygodni temu
services 5b8a8d77ec fix tshield 3 tygodni temu
test 923be81ed4 changes to token_create_test.php 2 miesięcy temu
.env.example 192195b296 ERRO_LOG + LAST TSHIELD PROBLEM 3 tygodni temu
.gitignore 898fa1b989 new: implementation of the auth token from B3 1 miesiąc temu
README.md 898fa1b989 new: implementation of the auth token from B3 1 miesiąc temu
TODO.md f7a124e508 token creation service 2 miesięcy temu
composer.json 906aaa2091 feat: add request validators to controllers 2 miesięcy temu
composer.lock ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 miesięcy temu
package.json 1c792098f3 migration token changes 2 miesięcy temu
php-api_1.0.0_all.deb a431b88a56 debian package support 5 miesięcy temu
routes.md b53ac4d3d4 B3 CPR register fixes 4 tygodni temu
test_bash_executor.php 61fba5e31a Inicial commit 2 miesięcy temu

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"}