/BagsKata

Bags Kata

Primary LanguagePHP

Bags Kata ๐ŸŽ’

From https://katalyst.codurance.com/bags

How to install ๐Ÿš€

After git clone execute Docker installation:

$ docker-compose up -d 

Install php dependencies with PHP composer:

$ composer install

If we don't have in our machine the right php version (7.4) execute composer with follow flag:

composer install --ignore-platform-reqs

We can also install dependencies with:

docker exec -it bagskata composer install

To run tests:

$ docker-compose run phpunit tests

Architecture

Architecture

I have used a layer architecture based on Uncle Bob's clean one. At this moment, I have only implemented the first two layers (Core and Use Cases). For a complete implementation, I would use the following layers (Network, Entry points, etc.)

Some considerations ๐ŸŒš

  • Conceived with TDD.
  • Git setted with git-flow.
  • Working with PHP 7.4 with his beautiful typing.
  • Factories inspired by Laravel framework.

License

Coded with โ™ฅ๏ธ by Kike Beltrรกn