Author: Jack Ogina
News Highlight is a web appliction that displays a list of news sources from around the world. A user is able to click on a news source and view a list of articles from that source. Clicking on the news article will then redirect you to the news article's web page.
- Your users should be able to see various news sources and select the ones they prefer
- Your users should be able to see all the news articles from that news source
- The user should see the image description and time the news article was created.
- The user should also be able to click on an article and read it fully from the news source.
- List various news sources.
- List articles from the selected news source
- Redirect user to the actual article
- Categorize news sources
- Use flask sessions to save a users article snippet
- Use browser cookies to store favourite news sources
This project was created on a debian linux platform but should work on other unix based[not limited to] sytems.
- Tested on Debian Linux
- Python 3.6.4
git clone https://github.com/jakhax/news-Highlight.git && cd news-Highlight
sudo apt-get install python3.6-venv
python3.6 -m venv virtual
source virtual/bin/activate
pip3 install -r requirements
The following libraries are required
- Flask==0.12.2
- Flask-Bootstrap==3.3.7.1
- Flask-Script==2.0.6
- gunicorn==19.7.1
python3 manage.py test
python3 manage.py server
Open the app on your browser, by default on 127.0.0.1:5000
.
The web app can be accessed from the following link
https://news-highlights-info.herokuapp.com/
usage: manage.py [-?] {server,test,shell,runserver} ...
positional arguments:
{server,test,shell,runserver}
server Runs the Flask development server i.e. app.run()
test Run the unit tests.
shell Runs a Python shell inside Flask application context.
runserver Runs the Flask development server i.e. app.run()
optional arguments:
-?, --help show this help message and exit
- Git clone https://github.com/jakhax/news-Highlight.git and make the changes.
- Write your tests on
tests/
- If everything is OK. push your changes and make a pull request. ;)
License (MIT License)
This project is licensed under the MIT Open Source license, (c) Jack ogina