Sample laravel app that scrapes and stores food facts.
- Run
composer install
. - Run
cp .env.example .env
and update it. - Run
php artisan jwt:secret
. - Run
php artisan migrate
. - (Local) Run
php artisan db:seed
. - Set up (cron) Laravel scheduler that will run
php artisan service:food
- Check
App\Console\Kernel.php
andApp\Console\Commands\FoodServiceCommand.php
for examples.
- Check