A Flask powered application where the user can:
- See various news sources on the homepage of the application.
- Select a news source and see all news articles from the selected news source in the application.
- See the image, description and the time a news article was created.
- Click on an article and read the full article on the source website.
The site is deployed on Heroku.
On your terminal, clone the project.
$ git clone git@github.com:peterken674/newsrun.git
Navigate into the cloned project.
$ cd newsrun
Create a start.sh
file.
$ touch start.sh
Inside start.sh
, add your API key from https://newsapi.org/ and the command for executing manage.py
, which will start the server.
export NEWS_API_KEY='<YOUR_API_KEY>'
python manage.py server
Give the file execution permissions.
$ chmod a+x start.sh
Run the program.
$ ./start.sh
- UI is not completely responsive to very large screens.
- Does not perform check to see whether the news request returns something in the response.
- Flask(Python)
- Jinja2
- Unittest
If you have any suggestions, questions or in case of a fire, you can reach the developer via email.
Copyright © 2021 peterken674