Test task.
Tested on Vagrant 2.0.2, Homestead 5.2.0, Ubuntu 16.04.
git clone https://github.com/NewEXE/simple-bank-api.git
composer update --lock
cp .env.example .env
- set up .env file
php artisan key:generate
php artisan migrate
php artisan db:seed
47 23 */2 * * php /var/www/artisan store:sum
ixudra cURL library: https://github.com/ixudra/curl
Unit-tests(completed);All cUrl methods in Services/InternalApi(completed);views code cleanup(completed);PHP documentation for API actions (@api)(completed);- Add repository for transactions;
- Roles and capabilities system.
- Standardize API endpoints (make method, URI, action and route name such as Laravel resources - https://laravel.com/docs/5.6/controllers#resource-controllers);