Create a database for the MySQL source based on the included data structure. - done
Write an Artisan console command to create a vehicle and save to the database. - done
- php artisan create:vehicle
Create API endpoints for;
Returning all vehicles from the different sources
Fetch vehicle data based on the source and identifier - done
Update vehicles which are stored in the MySQL database - Done
Create an API that is capable of:
a. Retrieve vehicle data based on source type and identifier. - done
b. Update vehicle data in the MySQL database (identifier, make, model, year). - done
c. Return response on all the requests. - done
Cover your code with unit and feature tests accordingly.
Create a new empty branch, give it a sensible. - done
Keep the code simple, but do apply design patterns and engineering principles. -done
Do not re-invent the wheel. Use packages where possible but dont over-use them either. -done
Create API documentation using Postman, Paw and/or OpenAPI.
Enforce PSR-2 coding styles
Create a composer command to be able to repeatedly execute the check and fix.