Software Engineer - Technical Screen Questions
Please find questions answers in app/public/index.php
I will be adding unit tests to this project at a later stage, for now, all the tests are manually logged via comments & var_dump in the index.php
- Clone the repo
git clone [email protected]:D3VM4TT/yordas_tech_test.git
- Navigate to the project docker directory
cd yordas_tech_test/docker
- Run Docker Compose
docker-compose up
- Open a interactive shell in the docker php container
docker exec -it docker_php_1 bash
- Install depencies using a local installation of composer
composer install
- Project should be running at http://127.0.0.1:8080/
PHPUnit tests can be run be doing the below:
- Open a interactive shell in the docker php container
docker exec -it docker_php_1 bash
- Make sure you are in the
/var/www
directory - Run the below command to run the tests
vendor/bin/phpunit tests