Giter Club home page Giter Club logo

jet-news's Introduction

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

jet-news's People

Contributors

matheusmassis avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.