Skip to content

boyzalius/Visma-PHP-Task_NBA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visma assessment task

Introduction

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 should be located in here test/

How to start?

Platform requirements

  • Ubuntu or other linux based
  • Docker 20+

This program should also work on Windows, but that was not tested.

Firstly, install dependencies

docker-compose run --rm composer install

How to run tests?

docker-compose run --rm phpunit

How to run the program?

Help command with program documentation

docker-compose run --rm cli

List all NBA teams

docker-compose run --rm cli teams

List NBA teams by keyword

docker-compose run --rm cli teams boston

List NBA games by date (date format YYYY-MM-DD)

docker-compose run --rm cli games 2021-05-16

Or by specifying filter

sudo docker-compose run --rm cli games --filter date 2021-05-16

List NBA games by season

sudo docker-compose run --rm cli games --filter season 2022

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%