بدون توضیح

ljoaquim 09d4e322a4 time out changes 2 هفته پیش
bin 09d4e322a4 time out changes 2 هفته پیش
controllers 7539a7193c fix genial-cli pathting 2 هفته پیش
libs 09d4e322a4 time out changes 2 هفته پیش
middlewares 61fba5e31a Inicial commit 4 هفته پیش
migrations e1685300d5 change user order on migration 2 هفته پیش
models 7db0ee62f5 fix to cli and and payments 2 هفته پیش
public d0f856af2d cpr 2 هفته پیش
services 7db0ee62f5 fix to cli and and payments 2 هفته پیش
test ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 هفته پیش
.env.example 09d4e322a4 time out changes 2 هفته پیش
.gitignore 41187d36cc .gitignore update 2 هفته پیش
README.md ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 هفته پیش
TODO.md 61fba5e31a Inicial commit 4 هفته پیش
composer.json 906aaa2091 feat: add request validators to controllers 3 هفته پیش
composer.lock ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 هفته پیش
package.json 41187d36cc .gitignore update 2 هفته پیش
php-api_1.0.0_all.deb a431b88a56 debian package support 4 ماه پیش
routes.md ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 هفته پیش
test_bash_executor.php 61fba5e31a Inicial commit 4 هفته پیش

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