Tuesday November 2 2021
This is an application that will help the user with a list and preview news articles from various sources.
In this app a user is able to explore various news categories including breaking news, business, sports among others. Users can also check out news articles from specific media houses, and from specific countries. One is able to search topics from around the globe, and for a more refined search, find articles from specific media houses. The app gives the time an article was posted, its source and author, and a brief content description. Tap on article links to read full articles on the source websites.
- This is the live link to the repo
- This is the live link to the app
-
Create a virtual environment in your project directory through the terminal with the command:
$ python3.9 -m venv --without-pip virtual
-
Activate the virtual environment:
$ source virtual/bin/activate
-
Install pip for installing other necessary python packages:
$ curl https://bootstrap.pypa.io/get-pip.py | python
-
Install flask module:
$ pip install flask
-
Clone the program from the online repo
-
Click on the code button to clone or download
|-TreNews
|-app/
|-main/
|-__init__.py
|-errors.py
|-forms.py
|-views.py
|-static/
|-css/
|-fonts/
|-images/
|-js/
|-templates/
|-base.html
|-footer.html
|-fourOwfour.html
|-index.html
|-macros.html
|-navbar.html
|-news_list.html
|-__init__.py
|-models.py
|-requests.py
|-tests/
|-test_news.py
|-test_sources.py
|-virtual/
|-config.py
|-.gitignore
|-LICENSE
|-manage.py
|-Procfile
|-README.md
|-requirements.txt
|-start.sh
- Python
- HTML
- JavaScript
- CSS
- Bootstrap
- JQuery
- Flask
-
The footer is not yet polished to the required state.
-
Adjusting the the navbar to work effectively besides the sidebars.
-
Therefore, you can make a pull request to this repo improve it or adjust functionalities.
Contact me omololevy@gmail.com
The project is under MIT LICENSE Copyright © 2021.All rights reserved