GET /withdraw?amount={value}
Unit tests:
docker run -w /app -it marcelsud/cashmachine-api php vendor/bin/phpspec run
Application:
docker run -it -p 8080:80 marcelsud/cashmachine-api
open localhost:8080/withdraw?amount={value}
Requirements:
- PHP 7.1
- Composer
Setup:
git clone [email protected]:marcelsud/cashmachine.git
cd cashmachine
composer install
Unit tests:
php vendor/bin/phpspec run
Application:
php -S 0.0.0.0:8080 public/index.php
open localhost:8080/withdraw?amount={value}