FizzBuzz made for the Leboncoin technical test.
PHP >= 7.2
Mysql 8
Composer
composer installEdit the .env file to match your local environment.
Then inject DB.sql to your local Database
Generate FizzBuzz:
GET /
Parameters:
int1 (mandatory)
int2 (mandatory)
word1 (mandatory)
word2 (mandatory)
limit (mandatory)
Response:
{
"fizzbuzz": ""
}
GET /statistics
Parameters:
Response:
{
"parameters": {
"int1": "",
"int2": "",
"word1": "",
"word2": "",
"limit": ""
},
"count":
}