TreNews

所属分类:后台框架
开发工具:HTML
文件大小:481KB
下载次数:0
上传日期:2023-01-16 22:46:42
上 传 者sh-1993
说明:  该应用程序帮助用户列出并预览来自各种来源的新闻文章。它保持用户更新...
(This application assists user with a list and preview news articles from various sources. It keeps the user updated with major news happenings all over the globe, across all topics of interest.)

文件列表:
LICENSE (1066, 2023-01-17)
Procfile (24, 2023-01-17)
app (0, 2023-01-17)
app\__init__.py (436, 2023-01-17)
app\main (0, 2023-01-17)
app\main\__init__.py (90, 2023-01-17)
app\main\errors.py (257, 2023-01-17)
app\main\forms.py (0, 2023-01-17)
app\main\views.py (5205, 2023-01-17)
app\models.py (845, 2023-01-17)
app\requests.py (5283, 2023-01-17)
app\static (0, 2023-01-17)
app\static\css (0, 2023-01-17)
app\static\css\styles.css (3412, 2023-01-17)
app\static\fonts (0, 2023-01-17)
app\static\fonts\HothamFreeDemo-L380G.ttf (33600, 2023-01-17)
app\static\images (0, 2023-01-17)
app\static\images\demo.png (456103, 2023-01-17)
app\static\js (0, 2023-01-17)
app\static\js\scripts.js (2141, 2023-01-17)
app\templates (0, 2023-01-17)
app\templates\base.html (919, 2023-01-17)
app\templates\footer.html (1894, 2023-01-17)
app\templates\fourOwfour.html (386, 2023-01-17)
app\templates\index.html (17053, 2023-01-17)
app\templates\macros.html (1234, 2023-01-17)
app\templates\navbar.html (1102, 2023-01-17)
app\templates\news_list.html (9235, 2023-01-17)
config.py (691, 2023-01-17)
manage.py (412, 2023-01-17)
railway.json (213, 2023-01-17)
requirements.txt (293, 2023-01-17)
tests (0, 2023-01-17)
tests\test_news_article.py (492, 2023-01-17)
tests\test_sources.py (404, 2023-01-17)

# TreNews ( ```News_API```) #### This is a project on a python language to implement the News-Api App. ***Tuesday November 2 2021*** #### By **OMOLO LEVY**™ ## Project Description 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. ## Project live sites * This is the live [link to the repo ](https://github.com/omololevy/TreNews)
* This is the live [link to the app ](https://trenews.herokuapp.com/) ## Homepage Demo The app looks like this: ![Image](./app/static/images/demo.png) ## Setup instructions * 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](https://github.com/omololevy/TreNews) * Click on the button to clone or download ## The App Structure ~~~ |-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 ~~~ ## Technologies Used * Python * HTML * JavaScript * CSS * Bootstrap * JQuery * Flask ## Pending Issues * 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](https://github.com/omololevy/TreNews/pulls) to this repo improve it or adjust functionalities. ## Support and contact details Contact me omololevy@gmail.com ### License The project is under [MIT LICENSE](https://github.com/omololevy/TreNews/blob/master/LICENSE) Copyright © 2021.All rights reserved

近期下载者

相关文件


收藏者