Example backend that consumes external api.
- PHP 7.1+
- Linux system (recommended)
- Docker (recommended)
- Docker compose (recommended)
- Install dependencies:
php composer.phar install
- Start php web server from root folder (not document root)
php -S localhost:8080 -t public/
Run the application with docker do the following command from the project root folder docker-compose up
Project has unit
and integration
tests
In the /test
folder u can find several tests run them with the following command from the project root folder vendor/bin/phpunit
In the /test/integration
folder u can find several tests execute them with the following command from the project root folder ./integration-test.sh
The MIT License (MIT).