composer install
sudo docker-compose up -d
sudo docker exec -it mytheresa_php_1 sh
Copy .env.example to make .env with below database configure
- DB_CONNECTION=mysql
- DB_HOST=database
- DB_PORT=3306
- DB_DATABASE=mytheresa_db
- DB_USERNAME=root
- DB_PASSWORD=root then run below command
php artisan migrate --seed
docker exec -it mytheresa_php_1 bash
php artisan test
localhost/api/products
- category
- priceLessThan