Bez popisu

ljoaquim 402d017a21 cpr register fix and returning fields cut před 2 týdny
bin 7a59bc31d0 default user on setup před 2 týdny
controllers 402d017a21 cpr register fix and returning fields cut před 2 týdny
libs 09d4e322a4 time out changes před 2 týdny
middlewares 61fba5e31a Inicial commit před 4 týdny
migrations e1685300d5 change user order on migration před 2 týdny
models 402d017a21 cpr register fix and returning fields cut před 2 týdny
public c74ff1e7b0 index.php small fix před 2 týdny
services 402d017a21 cpr register fix and returning fields cut před 2 týdny
test b928243afa debug on dynamic qrcode generation před 2 týdny
.env.example 09d4e322a4 time out changes před 2 týdny
.gitignore 41187d36cc .gitignore update před 2 týdny
README.md ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) před 2 týdny
TODO.md 61fba5e31a Inicial commit před 4 týdny
composer.json 906aaa2091 feat: add request validators to controllers před 3 týdny
composer.lock ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) před 2 týdny
package.json 41187d36cc .gitignore update před 2 týdny
php-api_1.0.0_all.deb a431b88a56 debian package support před 4 měsíci
routes.md 7a59bc31d0 default user on setup před 2 týdny
test_bash_executor.php 61fba5e31a Inicial commit před 4 týdny

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 (inicia servidor)

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