- Sagar Pathare
- Akshay Abhyankar
- Anusha Basavaraja
- Pratyush Thota
- Saumya Bansal
Project Link- https://newsbuff.ml/
- 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
- To clone the repository:
git clone https://github.com/CUBigDataClass/newsbuff-datafetch.git
- Create a free NYTIMES API key at https://developer.nytimes.com/apis
- Create a GCP account
- Deploy mongodb instance and get mongodb connection string
- Create a Geocoding API key using https://developers.google.com/maps/documentation/geocoding/get-api-key
- Host MongoDB and RabbitMQ
- Save your keys in .env and app.yaml
- To install the requirements, run:
pip install -r requirements.txt
- To deploy on local machine:
export FLASK_APP=main.py
flask run
- To deploy on Google App Engine https://cloud.google.com/appengine/docs/standard/nodejs/create-app
Connected to GitHub actions, autodeploys on the main branch
Distributed under the MIT License. See LICENSE.txt for more information