Skip to content

(Python, HTML, Bootstrap) Jet_News is a website that uses Flask to host and Google News API to get all recent tech news and display all of them separated by two categories: tech and startups.

License

Notifications You must be signed in to change notification settings

MatheusMAssis/Jet-News

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jet_News is a website that uses Flask to host and Google News API to get all recent tech news and display all of them separated by two categories: tech and startups, and Bootstrap to create a responsive layout. It uses Docker to create a properly deployment folder and uses Heroku to host the website on the cloud.

Click here to check Jet_News.


About

To understand more about creating a responsive template, a deployment system and a functional website, I developed Jet_News. A simple website that gets news from an API and display them through Flask to a Responsive template made with Bootstrap. To deploy it, I used Docker and Heroku.

> Getting News from Google API

I found a simple API called News API and used it to get the most recent news about Tech and Startups that were written in English. To do this, all I needed was this piece of code, that is inside main.py.

from newsapi import NewsApiClient
newsapi = NewsApiClient(api_key="myKey")

def get_articles_keyWord():
    articles = newsapi.get_everything(
                                       q="keyWord",
                                       language="en",
                                     )
    list_of_articles = articles["articles"]
    return list_of_articles

> Website display

In order to have a good template, I was inspired by famous news websites. I also used Bootstrap to keep everything responsive, making it possible to use my website on the cellphone or on the computer.


Built With

Authors

Credits

Powered by NewsAPI

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Thanks

Alt Text

Thanks for visiting my GitHub! <3

About

(Python, HTML, Bootstrap) Jet_News is a website that uses Flask to host and Google News API to get all recent tech news and display all of them separated by two categories: tech and startups.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published