/News-api

This is an application that will help people who want to get realtime news withouth having to watch TV for the news. It consumes News Api

Primary LanguagePython

News-Api

Author

Joan Kirui

Description

This is an application that will help people who want to get realtime news withouth having to watch TV for the news. The website will show news articles from several sources and news sources that a user can click to see morw news. The application consumes news from the News API

Live Link

https://newsapijk.herokuapp.com/

User stories

1.As a user, I would like to see various news sources on the homepage of the application.
2.As a user, I would also want to select a news source and see all news articles from the selected news source in the application.
3.As a user, I would want to see the image, description and the time a news article was created.
4.As a user, I would want to click on an article and read the full article on the source website.

Development Installations

1.Cloning the repository:
    git clone https://github.com/joankirui/News_api.git
2.Move to the folder and install requirements
    cd News_api
    pip install -r requirements.txt
3.Exporting Configurations
    export API_KEY='{Enter your News Api Key}'
4.Running the application
    ./start.sh
5.Testing the application
    python3.6 manage.py test

Technology used

* Python3.6
* HTML
* CSS

Contact Information

If you have any question or contributions, please email me at [joankirui99@gmail.com]

License

* MIT License
* Copyright (c) 2021 Joan Kirui