https://github.com/abdulrehmanmehar/news-app
Fetch News from different news providers, merge'em, saves in db, and provide through an endpoint
https://github.com/abdulrehmanmehar/news-app
laravel newsfeed react
Last synced: 5 months ago
JSON representation
Fetch News from different news providers, merge'em, saves in db, and provide through an endpoint
- Host: GitHub
- URL: https://github.com/abdulrehmanmehar/news-app
- Owner: AbdulRehmanMehar
- Created: 2023-04-18T18:12:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-06T22:35:52.000Z (over 2 years ago)
- Last Synced: 2025-07-01T01:04:41.750Z (5 months ago)
- Topics: laravel, newsfeed, react
- Language: PHP
- Homepage: http://140.238.145.138/
- Size: 332 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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`