Fetches data from
- NewYork Times
- The Guardian
- NewsAPI
- Run
composer install
. It's required to usesail
commands. - Rename
.env.example
to.env
. - Run
./vendor/bin/sail build
. - Run
./vendor/bin/sail up -d
. Backend will be accessible athttp://localhost:8000
and Frontend athttp://localhost:3000
- Run the migrations
./vendor/bin/sail artisan migrate
- Run the seeder
./vendor/bin/sail artisan db:seed
- Run the Scheduled Job to fetch news
./vendor/bin/sail artisan schedule:work