This is an example api project for the technical test to the application infrastructure team.
- The project requires:
PHP 8.3
MySQL 8.0.36
- After clonning the project, install dependencies
composer install
- Configure the credentials in .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
- Run migrations with seeders
php artisan migrate --seed
- Access the example endpoint
curl http://127.0.0.1:8000/api/v1/products