Skip to content

News Aggregator is a React, Laravel Dockerized web application that aggregates news articles from three API sources. The application allows users to search for news articles using various methods. Additionally, users can save their search preferences in a preferences dashboard and view the news articles based on their saved preferences.

Notifications You must be signed in to change notification settings

altinawiwaseem/news-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

News Aggregator Documentation

Introduction

The News Aggregator project is a web application that aggregates news articles from three API sources: NewsAPI, The Guardian, and The New York Times. The application allows users to search for news articles using various methods such as keywords, categories, dates, languages, and countries. Additionally, users can save their search preferences in a preferences dashboard and view the news articles based on their saved preferences.

The project is built using Laravel for the backend and React for the frontend. It is dockerized and can be set up and run using Docker Compose. To get started, follow the instructions below.

Demo


Prerequisites

Before proceeding with the installation, make sure you have the following prerequisites installed on your system:

  • Docker (with Docker Compose)

Project Setup

  • Clone the repository: git clone <[email protected]:altinawiwaseem/news-aggregator.git>
  • cd news-aggregator
  • cd frontend
  • cp .env.example .env
  • cd ..
  • cd backend
  • cp .env.example .env
  • ./vendor/bin/sail up

Accessing The Application

Frontend: http://localhost:3000 Backend API: http://localhost database : http://localhost:8080

Usage

Homepage Once the installation is complete and the containers are running, open your web browser and go to http://localhost:3000 to access the News Aggregator application.

  • Click the "Sign up" link to create a new account, or click the "Log in" link to log in to an existing account. after successfully Sign up or Logged in you will be redirected to the news page.

  • Search The news page provides a search bar where users can enter keywords, categories, dates, languages, or countries to search for news articles. Click the "Search" button to initiate the search.

  • Preferences Dashboard To save search preferences and view news articles based on the saved preferences.

In the Preferences Dashboard, you can set your preferred keywords, categories, languages, and countries for news articles. you can also there add and delete your search preferences. Click the "Save Preferences" button to save your preferences.

News Page After setting your preferences, navigate to the My News to view news articles based on your saved preferences. The news articles will be displayed according to the keywords, categories, dates, languages, and countries you have specified.

Developed With
  • HTML5
  • Tailwind CSS
  • JavaScript
  • React
  • npm
  • node js
  • laravel
  • php
  • mysql
  • docker

Contact

Mail: [email protected]
GitHub:altinawiwaseem


Used Tools


About

News Aggregator is a React, Laravel Dockerized web application that aggregates news articles from three API sources. The application allows users to search for news articles using various methods. Additionally, users can save their search preferences in a preferences dashboard and view the news articles based on their saved preferences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published