Giter Club home page Giter Club logo

news-highlight's Introduction

News Highlight application - Flask

A News Highlights application.

Image for the live page

Author

James Ngari

Description

Application makes use of the news database API

Features

Here are the features in summary:

  • App displays most popular news sources in the US.
  • User can also view the top highlights from the top sources.

Requirements

  • This program requires python3.+ (and pip) installed, a guide on how to install python on various platforms can be found here

Installation and Set-up

To view the app, open the live site link provided below on the README. Here is a run through of how to set up the application:

  • Step 1 : Clone this repository using git clone https://github.com/Jay-68/news-highlight, or downloading a ZIP file of the code.
  • Step 2 : The repository, if downloaded as a .zip file will need to be extracted to your preferred location and opened
  • Step 3 : Go to the project root directory and install the virtualenv library using pip an afterwards create a virtual environment. Run the following commands respectively:
    • pip install virtualenv
    • virtualenv venv
    • source virtual/bin/activate
      • Note that you can exit the virtual environment by running the command deactivate
  • Step 4 : Download the all dependencies in the requirements.txt using pip install <name>
  • Step 5 : Go to the news API WEBSITE, sign up for a free account and generate an API key.
    • Create a file in your root directory called start.sh and store the API key like so export API_KEY="<your-key>"
    • On the same file write down the command python3 manage.py server
  • Step 6 : On your terminal, run the following command, chmod a+x start.sh
    • You can now launch the application locally by running the command ./start.sh
    • Open your preferred browser and view the app by opening the link http://127.0.0.1:5000/.

Technologies Used

  • Python 3.7.4
  • Flask 1.1.1
  • HTML
  • CSS
  • Bootstrap 4

Support and contact details

You can provide feedback or raise any issues/ bugs through the following means:

Live Site link

You can view the live application by following this link.

License

MIT Licence

news-highlight's People

Watchers

James Cloos avatar James Kevin 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.