For Database data I used 2 attached files (foods.json && ingredients.json)
So you will see your sample foods and ingredients in results.
-
Run the following command in root of project:
docker-compose build && docker-compose up -d
-
docker exec -it order_php sh -c
"cp .env.example .env && composer install && php artisan key:generate && php artisan migrate && php artisan db:seed"
-
if you need to test application run:
docker exec -it order_php sh -c "php artisan test"
-
URLs:
MAIN URL: localhost:82
PHPMyAdmin URL: localhost:83 -- {user: root} {password: secret}
-
The sample of Postman json file is attached.