Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 911 Bytes

readme.md

File metadata and controls

31 lines (20 loc) · 911 Bytes

Getting started

You will need Docker and Docker-Compose installed to build this application.

Run the commands below on your favorite terminal inside the project folder:

docker-compose up -d
docker-compose exec php composer install

Running the tests

All tests were written using codeception library, then we need to use its commands to run all tests:

docker-compose exec php vendor/bin/codecept run

For this task, I did not write Unit tests, because In my concern, It was not needed.

After run the tests, some data will be generated to be used by our API.

API

The routes are available by the command:

 docker-compose exec php bin/console debug:router

And you can use as well your postman, importing the collection in the root folder of this project.