By ** Akumu Collins ** ;
This application displays a list of all various news sources and users can view newa articles and their categories. This applications makes use of News API to retrieve top news articles from different news sources with relative categories.
- install the latest python3 in your computer with $ sudo apt-get update and sudo apt-get install python3.6 command
- install pip in you computer using $sudo apt install python3-pip command
- get the project in github
- copy and paste the clone link from the global sidebar in github to your terminal
- use this instead, git clone https://github.com/Akumucollins/News_Headlines.git in your local terminal
- install virtual environment in your computer also using $ sudo pip3 install virtualenv and $ python3 -m venv myenv command
- install Flask and other modules using $ python3.6 -m pip install Flask, $ python3.6 -m pip install Flask-Bootstrap, $ python3.6 -m pip install Flask-Script commands
- cd to the project directory issued after cloning it.
- code . /atom . command to open the text editor
- to run or open the application program use $ chmod +x start.sh $ ./start.sh
- python3.6
- pip
- virtualenv
- Flask
- Python.
Behaviour | Input | Output |
---|---|---|
Display all various news sources | On page load | Various news sources grouped by sources i.e Top Business News |
Display a list of articles from News source | Click a news source | Directed to a page with articles from the source |
Display title,image,author,date published,link to the source's site | On page load | The articles show title,image,author,date published,Link to the source's site |
Display nav tabs with news by category ie Technology | On navtab click | Links to news based on category title,image,author,date published and news source,s site button |
Display the preview of an article | On page load | Each article displays an title,image,link to the source's site,description and published date |
To Read the entire article | Click the article getmore@ button | Directed to the news source's site to read the entire article |
The application is an open-source product if you want to improve it or include an event of a bug contact this akumucollins001@gmail.com .
The project is MIT licensed