Hi, this is a skeleton app for your assessment. It will help you to deal your task without building the app from the scratch!
How to use it?
- Implement the business logic under
src/
directory - Write your unit tests which should be located in here
test/
- Ubuntu or other linux based OS
- Docker 20+
This program should also work even on Windows, but that was not tested yet.
//THOSE ARE ALREADY INSTALLED IN THIS REPO, BUT YOU CAN STILL EXECUTE THE COMMAND IF YOU MAY LIKE
P.S. If you are lacking permissions for a command, just type sudo before "docker-compose" or add docker to a group of users
docker-compose run --rm composer install
docker-compose run --rm phpunit
Execute help command with program documentation
docker-compose run --rm cli
List all NBA teams
docker-compose run --rm cli teams
List NBA teams by input keyword
docker-compose run --rm cli teams boston
List NBA games by input date (date format YYYY-MM-DD) as an example: 2021-05-16
docker-compose run --rm cli games 2021-05-16
Or by specifying filter (as an example: date)
sudo docker-compose run --rm cli games --filter date 2021-05-16
Or by choosing a seasonal year (as an example: 2022)
sudo docker-compose run --rm cli games --filter season 2022