python-flask-week2--IP

所属分类:collect
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-05-09 08:19:09
上 传 者sh-1993
说明:  新闻应用程序:希望在不看电视的情况下观看实时新闻的人可以使用此应用程序。该应用程序从不同来源获取新闻文章,用户可以单击以阅读有关此类新闻的更多信息。新闻应用程序使用NewsAPI中的新闻(
(News App: People who want to consume realtime news without watching TV can use this application. The app fetches news articles from different sources and users can click to read more concerning such news. News-App consumes news from NewsAPI ()

文件列表:
LICENCE (1067, 2022-05-09)
Procfile (24, 2022-05-09)
app/ (0, 2022-05-09)
app/__init__.py (410, 2022-05-09)
app/main/ (0, 2022-05-09)
app/main/__init__.py (84, 2022-05-09)
app/main/error.py (0, 2022-05-09)
app/main/views.py (1358, 2022-05-09)
app/models.py (758, 2022-05-09)
app/news_requests.py (4088, 2022-05-09)
app/static/ (0, 2022-05-09)
app/static/css/ (0, 2022-05-09)
app/static/css/styles.css (590, 2022-05-09)
app/templates/ (0, 2022-05-09)
app/templates/articles.html (570, 2022-05-09)
app/templates/base.html (1623, 2022-05-09)
app/templates/navbar.html (1111, 2022-05-09)
app/templates/news_macros.html (2694, 2022-05-09)
app/templates/search.html (239, 2022-05-09)
app/templates/sourcearticles.html (411, 2022-05-09)
app/templates/sources.html (456, 2022-05-09)
config.py (430, 2022-05-09)
manage.py (409, 2022-05-09)
requirements.txt (303, 2022-05-09)
tests/ (0, 2022-05-09)
tests/articles_test.py (474, 2022-05-09)
tests/sources_test.py (546, 2022-05-09)
virtual/ (0, 2022-05-09)
virtual/bin/ (0, 2022-05-09)
virtual/bin/Activate.ps1 (8834, 2022-05-09)
virtual/bin/activate (2203, 2022-05-09)
virtual/bin/activate.csh (1255, 2022-05-09)
virtual/bin/activate.fish (2407, 2022-05-09)
virtual/bin/easy_install (266, 2022-05-09)
virtual/bin/easy_install-3.8 (266, 2022-05-09)
virtual/bin/flask (244, 2022-05-09)
virtual/bin/normalizer (280, 2022-05-09)
virtual/bin/pip (257, 2022-05-09)
... ...

# News_App ## Author [Denis-Muga](https://github.com/DenisMuga) # Description People who want to consume realtime news without watching TV can use this application. The app fetches news articles from different sources and users can click to read more concerning such news. News-App consumes news from NewsAPI (https://newsapi.org/) ## Live Demo Click [Link](https://muganews-app222.herokuapp.com/) to visit the site ## User Story 1. A user would view different news sources on the News-app homepage. 2. A user would click a news source and view all news articles from the clicked source. 3. A user would view the image and time the article was published. 4. A user would select an article and read all the contents using the application. ## Development Installation To get the code.. 1. Cloning the repository: ```bash git clone https://github.com/DenisMuga/python-flask-week2--IP.git ``` 2. Move to the folder and install requirements ```bash cd News_App pip install -r requirements.txt ``` 3. Exporting Configurations ```bash export API_KEY='{Enter your News Api Key}' ``` 4. Running the application ```bash python3.8 manage.py server ``` 5. Testing the application ```bash python3.8 manage.py test ``` Open the application on your browser `127.0.0.1:5000`. ## Technology used * [Python3.6](https://www.python.org/) * [Flask](http://flask.pocoo.org/) * [Heroku](https://heroku.com) ## Known Bugs * There are no known bugs currently but pull requests are allowed incase you spot a bug ## Contact Information If you have any question or contributions, please email me at [denismugah5@gmail.com] ## License * *MIT License:* * Copyright (c) 2022 **Denis Muga**

近期下载者

相关文件


收藏者