/News-Api

This is a web application that consumes an API and posts news from various news sources. The site has four categories of news and a user can click on a news source to view various articles from the news site.

Primary LanguagePowerShellMIT LicenseMIT

News-Api

Application for news.

Description

This is a web application that consumes an API and posts news from various news sources. The site has four categories of news and a user can click on a news source to view various articles from the news site.

Setup Requirements

  • Web Browser
  • Internet Connection
  • Flask 1.1.2
  • Python 3.9
  • Terminal

Installation

  • Git clone this repo in your computer's terminal, then cd into the you cloned:

git clone https://github.com/Kipkorir-Gideon/News-Api

  • Start server using virtual environment by:

python3.9 -m venv --without-pip virtual

  • Activate virtual environment:

source virtual/bin/activate

  • Install the requirements:

curl https://bootstrap.pypa.io/get-pip.py | python

pip install --force-reinstall flask==1.1.2

  • Run application in live server:

chmod a+x start.sh

./start.sh

  • View the application in your browser:

http://127.0.0.1:5000/

Technologies Used

  • Python
  • Flask
  • Bootstrap
  • HTML & CSS

Bugs

So far there is no known bug

Contact Information

For any Support or Feedback, fill free to contact the me through:

Live site

View live site here.

License & copyright

Licensed under the MIT License.
Copyright (c) 2021 Kipkorir-Gideon