commit 9e00c10b9cafa7317675031b14984c4a08e0adab Author: Floriansylvain Date: Tue Dec 16 19:47:13 2025 +0100 Initial Commit diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/Technical Assessment.pdf b/Technical Assessment.pdf new file mode 100644 index 0000000..af10b08 Binary files /dev/null and b/Technical Assessment.pdf differ diff --git a/assessment/.gitignore b/assessment/.gitignore new file mode 100644 index 0000000..600d2d3 --- /dev/null +++ b/assessment/.gitignore @@ -0,0 +1 @@ +.vscode \ No newline at end of file diff --git a/assessment/credentials/credentials.json b/assessment/credentials/credentials.json new file mode 100644 index 0000000..a8efe35 --- /dev/null +++ b/assessment/credentials/credentials.json @@ -0,0 +1,3 @@ +{ + "api_key" : "8ac2ee4a7b38ff178fe92d7aa3f8b248" +} \ No newline at end of file diff --git a/assessment/customs/clienta/modules/cars/ajax.php b/assessment/customs/clienta/modules/cars/ajax.php new file mode 100644 index 0000000..dafe110 --- /dev/null +++ b/assessment/customs/clienta/modules/cars/ajax.php @@ -0,0 +1 @@ +

Voitures Client A

\ No newline at end of file diff --git a/assessment/customs/clientb/modules/cars/ajax.php b/assessment/customs/clientb/modules/cars/ajax.php new file mode 100644 index 0000000..6acf9c1 --- /dev/null +++ b/assessment/customs/clientb/modules/cars/ajax.php @@ -0,0 +1 @@ +

Voitures Client B

\ No newline at end of file diff --git a/assessment/customs/clientc/modules/cars/ajax.php b/assessment/customs/clientc/modules/cars/ajax.php new file mode 100644 index 0000000..e004fef --- /dev/null +++ b/assessment/customs/clientc/modules/cars/ajax.php @@ -0,0 +1 @@ +

Voitures Client C

\ No newline at end of file diff --git a/assessment/data/cars.json b/assessment/data/cars.json new file mode 100644 index 0000000..18e5f78 --- /dev/null +++ b/assessment/data/cars.json @@ -0,0 +1,122 @@ +[ + { + "id": 1, + "modelName": "Sedan X", + "year": 1630454400, + "brand": "Brand A", + "power": 200, + "customer": "clienta", + "garageId": 1, + "colorHex": "#FF0000" + }, + { + "id": 2, + "modelName": "SUV Y", + "year": 1661990400, + "brand": "Brand B", + "power": 250, + "customer": "clientb", + "garageId": 2, + "colorHex": "#00FF00" + }, + { + "id": 3, + "modelName": "Hatchback Z", + "year": 1577836800, + "brand": "Brand C", + "power": 180, + "customer": "clientc", + "garageId": 3, + "colorHex": "#0000FF" + }, + { + "id": 4, + "modelName": "Convertible A", + "year": 1612051200, + "brand": "Brand D", + "power": 220, + "customer": "clienta", + "garageId": 1, + "colorHex": "#FFA500" + }, + { + "id": 5, + "modelName": "SUV B", + "year": 1643587200, + "brand": "Brand E", + "power": 270, + "customer": "clientb", + "garageId": 2, + "colorHex": "#800080" + }, + { + "id": 6, + "modelName": "Hatchback C", + "year": 1580515200, + "brand": "Brand F", + "power": 190, + "customer": "clientc", + "garageId": 3, + "colorHex": "#008000" + }, + { + "id": 7, + "modelName": "Sedan D", + "year": 1625097600, + "brand": "Brand G", + "power": 205, + "customer": "clienta", + "garageId": 1, + "colorHex": "#FFC0CB" + }, + { + "id": 8, + "modelName": "Convertible E", + "year": 1656633600, + "brand": "Brand H", + "power": 230, + "customer": "clientb", + "garageId": 8, + "colorHex": "#FFFF00" + }, + { + "id": 9, + "modelName": "SUV F", + "year": 1593561600, + "brand": "Brand I", + "power": 290, + "customer": "clientc", + "garageId": 5, + "colorHex": "#800000" + }, + { + "id": 10, + "modelName": "Hatchback G", + "year": 1638115200, + "brand": "Brand J", + "power": 195, + "customer": "clienta", + "garageId": 1, + "colorHex": "#00FFFF" + }, + { + "id": 11, + "modelName": "Sedan H", + "year": 1672204800, + "brand": "Brand K", + "power": 210, + "customer": "clienta", + "garageId": 1, + "colorHex": "#008080" + }, + { + "id": 12, + "modelName": "Convertible I", + "year": 1617225600, + "brand": "Brand L", + "power": 235, + "customer": "clientb", + "garageId": 2, + "colorHex": "#FF00FF" + } +] \ No newline at end of file diff --git a/assessment/data/garages.json b/assessment/data/garages.json new file mode 100644 index 0000000..a83a467 --- /dev/null +++ b/assessment/data/garages.json @@ -0,0 +1,32 @@ +[ + { + "id": 1, + "title": "ABC Garage", + "address": "123 Main Street, City A", + "customer": "clienta" + }, + { + "id": 2, + "title": "XYZ Auto Shop", + "address": "456 Elm Street, City B", + "customer": "clientb" + }, + { + "id": 3, + "title": "City Motors", + "address": "789 Oak Avenue, City C", + "customer": "clientc" + }, + { + "id": 4, + "title": "Sunset Garage", + "address": "321 Pine Street, City D", + "customer": "clienta" + }, + { + "id": 5, + "title": "Speedy Auto Repair", + "address": "654 Cedar Lane, City E", + "customer": "clientc" + } +] \ No newline at end of file diff --git a/assessment/index.php b/assessment/index.php new file mode 100644 index 0000000..a83c28c --- /dev/null +++ b/assessment/index.php @@ -0,0 +1,11 @@ + + + + + + Tool4cars + + +
+ +