- Fast Route for Routing https://github.com/nikic/FastRoute
- Eloquent ORM for Data Storage https://github.com/illuminate/database
- Guzzle Http for Http Requests http://docs.guzzlephp.org/en/stable/
- Clone the Repository
- Create A Database with your preferred details, and run the query contained in db/migrations/colorTable.sql
- Copy settings.example.php into a file named settings.php and modify the settings with your own database connection details
- Run composer install to get project dependencies.
- The routes to the API can be seen in routes.php. You can add, edit, remove, or fetch all colors with a client like POSTMAN.
- There is an extra route to fetch color details from https://www.thecolorapi.com/
Works better if you set up a virtual host for this repo.