Go to project directory and run:
composer install make up
curl -X POST http://localhost:8000/api/sum-even
-H "Content-Type: application/json"
-d '{"numbers": [2, 4, 6]}'
.
├── controllers/
| ├── ApiController
|── models/
| ├── NumberForm
├── services/
| ├── SumEvenCalculatorService
├── dto/
| ├── NumbersDto
| ├── sumDto
tests/
├── unit/
| ├── model/
| | ├── NumberFormTest
| ├── services/
| | ├── SumEvenCalculatorServiceTest
└── README.md
make test-unit
make test-api