AI News Aggregator is a Flask-based web application designed to fetch and display the latest news articles from various sources. The system periodically scrapes news using a Google Colab Notebook and stores the articles in a MongoDB database. The frontend is built with React.js, providing a clean and intuitive interface for users to browse recent news updates.
- Automated News Scraping: Fetches recent articles from multiple sources.
- Database Storage: Stores scraped news in MongoDB for easy retrieval.
- Flask API: Serves the stored news articles to the frontend.
- React Frontend: Displays news articles in an organized format.
- React.js: User-friendly interface for browsing news articles.
- CSS & TailwindCSS: Modern styling for a responsive UI.
- Flask: Serves the news articles via RESTful APIs.
- MongoDB: Stores scraped news for persistent access.
- Google Colab: Runs the web scraper for fetching news articles.
Ensure you have the following installed:
- Node.js & npm for the frontend
- Python & pip for the backend
- MongoDB for database storage
git clone
cd Flipr
cd backend
pip install -r requirements.txt
python app.py
cd ../frontend
npm install
npm start # Start React app
- Run the Web Scraper: Execute the Google Colab Notebook to scrape and store recent news in MongoDB.
- Start the Backend: Flask serves the stored articles via API.
- Launch the Frontend: React frontend displays the latest news articles.
- Host the backend: Deploy the Flask server on AWS/GCP/Azure/Render.
- Host the frontend: Deploy the React app using Vercel or Netlify.
- Database: Use MongoDB Atlas (free-tier recommended).
- Run Scraper: Periodically execute the Google Colab Notebook for fresh news.
Distributed under the MIT License. See LICENSE.txt
for more information.