captainsidd / news-aggregator

https://medium.com/@captainsidd/paying-for-a-news-aggregator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

news-aggregator

An early build of a service that collects and analyzes news articles. Done with NewsAPI.org and Indico.

screenshot

Ugly as hell, I know. PRs welcome!

Purpose

This is an MVP of the idea found here. Branched off from the original idea somewhat, mostly to make building this more doable in a 24 hour hackathon - vast majority of this was done at Brickhack 4.

Installation

You'll need API keys for both the NewsAPI and Indico. Once you have those, make the file ./lambda/environment.yml:

NEWS_API_KEY: xxxxxxxxxx
INDICO_KEY: xxxxxxxxxx

Then install Serverless, and make sure you can deploy to AWS with AWS credentials setup in your bash_profile

To deploy:

cd lambda
npm install
sls deploy

This will display two different endpoints, the base of which should replace const BASE_URL in news-aggregator-web/src/App.js.

Note: Haven't got the frontend up and running anywhere - want to handle the rate limit issue for the Indico API before the site is publically available.

About

https://medium.com/@captainsidd/paying-for-a-news-aggregator

License:MIT License


Languages

Language:JavaScript 51.6%Language:Python 34.9%Language:HTML 10.3%Language:CSS 3.2%