説明なし

gdias 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
bin 51d53ef7ed test wallet on seed 2 ヶ月 前
controllers 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
libs 09d4e322a4 time out changes 2 ヶ月 前
middlewares 9e09a5bd50 add the CORS tool add on .env CORS=true/false 1 ヶ月 前
migrations 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
models 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
public 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
services 7fe5655cc7 add the tshield, need finishe the webhook 1 ヶ月 前
test 923be81ed4 changes to token_create_test.php 2 ヶ月 前
.env.example f7a124e508 token creation service 2 ヶ月 前
.gitignore 898fa1b989 new: implementation of the auth token from B3 1 ヶ月 前
README.md 898fa1b989 new: implementation of the auth token from B3 1 ヶ月 前
TODO.md f7a124e508 token creation service 2 ヶ月 前
composer.json 906aaa2091 feat: add request validators to controllers 2 ヶ月 前
composer.lock ee0a402a2b migration fixes (duplicate columns), setup reedo (now deletes database and creates a new one) 2 ヶ月 前
package.json 1c792098f3 migration token changes 2 ヶ月 前
php-api_1.0.0_all.deb a431b88a56 debian package support 5 ヶ月 前
routes.md 898fa1b989 new: implementation of the auth token from B3 1 ヶ月 前
test_bash_executor.php 61fba5e31a Inicial commit 2 ヶ月 前

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