Skip to content

Fetch News from different news providers, merge'em, saves in db, and provide through an endpoint

Notifications You must be signed in to change notification settings

AbdulRehmanMehar/news-app

Repository files navigation

News App

Fetches data from

  • NewYork Times
  • The Guardian
  • NewsAPI

How to run?

  • Run composer install. It's required to use sail commands.
  • Rename .env.example to .env.
  • Run ./vendor/bin/sail build.
  • Run ./vendor/bin/sail up -d. Backend will be accessible at http://localhost:8000 and Frontend at http://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

About

Fetch News from different news providers, merge'em, saves in db, and provide through an endpoint

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published