Skip to content

The app compiles news articles from different sources via RSS feeds, simplifying access to a unified stream of information.

License

Notifications You must be signed in to change notification settings

shakkurcwb/NewsAggregatorApp

Repository files navigation

NewsAggregatorApp

Welcome to NewsAggregatorApp project! This guide will walk you through the steps to get the project up and running on your local environment.

Check https://newsaggregator.app for the live demo.

Main Picture

Telegram Bot

Requirements

Before you begin, make sure you have the following software installed:

Installation

  1. Clone the repository:

    git clone https://github.com/shakkurcwb/NewsAggregatorApp
  2. Navigate to project repository:

    cd NewsAggregatorApp
  3. Install PHP dependencies:

    composer install
  4. Create a copy of the .env.example file and rename it to .env.

  5. Update the database and other configuration settings in this file.

  • For SQLite, simple use DB_CONNECTION=sqlite and create a blank file on database/database.sqlite.

  • For more database engines, please check the Laravel Docs.

  1. Run database migrations to set up the database schema:

    php artisan migrate
  2. (Optional) Seed the database with sample data:

    php artisan db:seed
  3. Start the development server:

    php artisan serve
  4. (Optional) Pull the latest news using the console command:

    php artisan rss:collect
  5. (Optional) Reply to Telegram messages using the console command:

    php artisan telegram:handler
  6. (Optional) Or run the development task scheduler worker (includes both commands - see more on app\Console\Kernel.php):

    php artisan schedule:work

Now you should be able to access the project by visiting http://localhost:8000 in your web browser.

Additional Information

Make sure to consult the official Laravel documentation for more in-depth information on various aspects of the framework.

If you encounter any issues during the installation process, feel free to reach out to contact me or create an issue.

Happy coding!

License

This project is licensed under the MIT License.

More Pictures

Picture 1

Picture 2

Picture 3

Picture 6

About

The app compiles news articles from different sources via RSS feeds, simplifying access to a unified stream of information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published