Skip to content

This is a news aggregator application that scrapes and collects the latest news articles directly from BBC News, organising them into a clean and user-friendly interface.

License

Notifications You must be signed in to change notification settings

Poorna-Raj/News-Aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📰 BBC News Aggregator

A modern news aggregator app built using FastAPI (Python) for the backend and React for the frontend. This application scrapes real-time headlines and summaries from BBC News, delivering them through a clean, responsive interface.


🚀 Features

  • 🔍 Real-time scraping from BBC News
  • ⚡ Fast and lightweight API using FastAPI
  • 💻 Frontend built with React
  • 📄 Clean, card-based UI to display news articles
  • 🔁 Refreshes latest news dynamically

🛠️ Tech Stack

Frontend:

  • React
  • Axios (or Fetch API)
  • CSS

Backend:

  • Python
  • FastAPI
  • Selenium

📦 Installation

  1. Clone the repository
git clone https://github.com/Poorna-Raj/News-Aggregator.git

🔧 Backend (FastAPI)

  1. Move to the directory
cd backend
  1. Create a virtual enviroment
python -m venv venv
  1. Activate the virtual enviroment
  • On Windows:
venv\Scripts\activate
  • On MacOs/Linux:
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run the server
fastapi dev main.py

🔧 Frontend (React)

  1. Move to the location
cd "frontend/news-app"
  1. Install node modules
npm install
  1. Run the server
npm run dev

📸 Screenshots

Screenshot

🧠 Future Improvements

  • Category-based filtering (e.g., Tech, World, Sports)
  • User authentication for saving favorite articles
  • Dark mode
  • Caching and performance optimization

📄 License

This project is licensed under the MIT License.


👤 Author

Poorna Rajapaksha

Email: poornarajapaksha339@gmail.com

About

This is a news aggregator application that scrapes and collects the latest news articles directly from BBC News, organising them into a clean and user-friendly interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published