Controller => Validation => Repository
docker-compose up -d --build
1-) docker exec -it i_phpfpm bash
2-) cd banking
Now we can execute composer, artisan etc. commands.
Install required packages
php artisan swagger-lume:generate
php artisan migrate --seed
php artisan migrate --path='./database/migrations/2022_07_18_003232_create_currencies_table.php' (Nothing to migrate. = Clear migrations table)
#Accounts
vendor/bin/phpunit --filter test_create_account
vendor/bin/phpunit --filter test_list_account
vendor/bin/phpunit --filter test_delete_account
#Transactions
vendor/bin/phpunit --filter test_create_transaction
vendor/bin/phpunit --filter test_withdraw_transaction
vendor/bin/phpunit --filter test_deposit_transaction