This setup uses docker to spin up php 7.3 container
Requirements:
- Docker + docker-compose installed
- port 3000 and 8080 free on the host machine
This step will:
- build images for php container
- install dependencies for the PHP app
Execute:
./run.sh install
Execute:
./run.sh dev
If All containers are running simply:s
This repository contains solutions for technical tasks for MVF interview.
API was built using PHP and Lumen + widely supported Github API v3 client:
- Why Lumen: it's a micro HTTP framework. I chose to go with HTTP in order to build a small RESTful endpoint accessible by the webapp.
This test is for a PHP heavy engineer position, thus PHP was chosen for the solution.
You can find the API Swagger docs in here
It's a widely community supported framework, I was also considering Vue but I assume React is more in use with MVF.
Make sure the docker container is running, then simply:
- SSH into the container
docker exec -it awin-service /bin/bash
- Execute the command
./vendor/bin/phpunit