A basic app to visualise RSS feed
/frontend
- Used for taking inputs and D3 visualizations./backend
- Used for fetching data from RSS feeds, to avoid CORS error, and also to do analyze the RSS data to visualize
- Taking input and making
POST
requests tohttp://localhost:5000/rss
, so make sure the/backend
runs at port5000
- Additionally using
Bootstrap
for basic styling,jQuery
to make easierAJAX
requests, andD3
to visualize data, so creating a mashup of various RIA [Rich Internet Applications]
- A simple flask server, which exposes
/rss
route and providesCORS
support throughflask-cors
package - Also should be running on port
5000
as the requests are made on that - Additionally using
feedparser
to get RSS feed data, a basic tutorial for feedparser can be found here - Using virtual env here, and the dependencies for the project can hence be found at
requirements.txt
- Serve
/frontend
through some extension or package such as live-server - Note: Make sure to serve it on anyother port except
5000
since API calls are made there
- Serve
/backend
in another terminal, either by installing dependencies using venv or by installing globally - Make sure it is served on port
5000
if not, make appropriate changes at -/frontend/script.js