Skip to content

CUBigDataClass/newsbuff-datafetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATLS 5214: Big Data Architecture (Spring 2022)

Project Name: News Buff

Team Name: Headliners

Team Members-

  1. Sagar Pathare
  2. Akshay Abhyankar
  3. Anusha Basavaraja
  4. Pratyush Thota
  5. Saumya Bansal

Project Link- https://newsbuff.ml/

This repository contains the Backend Code

Project Description

  • News Buff is an interactive world map of global news
  • News pins are populated on the map depending on the user inputs - year, month, day, query
  • Each news article's location is geocoded and shown on the map
  • Sentiment analysis is done on each news article to calculate a sentiment score from -1 to 1
  • Each location has an average sentiment score and shows its articles
  • Share article via Social Media

Installation


  1. To clone the repository:
git clone https://github.com/CUBigDataClass/newsbuff-datafetch.git
  1. Create a free NYTIMES API key at https://developer.nytimes.com/apis
  2. Create a GCP account
  1. Host MongoDB and RabbitMQ
  2. Save your keys in .env and app.yaml

Requirements


  • To install the requirements, run:
pip install -r requirements.txt

Deployment


  • To deploy on local machine:
export FLASK_APP=main.py
flask run

CICD

Connected to GitHub actions, autodeploys on the main branch

License


Distributed under the MIT License. See LICENSE.txt for more information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published