Skip to content

Rafael-Ya/news-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnificent Seven Stock News

A local web application that displays recent news about the Magnificent Seven tech stocks (Apple, Microsoft, Alphabet, Amazon, NVIDIA, Meta, and Tesla).asd

Setup

Using Docker (Recommended)

  1. Clone this repository
  2. Get an API key from NewsAPI
  3. Create a .env file in the root directory and add your API key:
    NEWS_API_KEY=your_api_key_here
    
  4. Build and run with Docker Compose:
    docker-compose up --build
  5. Open your browser and go to http://localhost:5000

Manual Setup

  1. Clone this repository
  2. Create a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install requirements:
    pip install -r requirements.txt
  4. Get an API key from NewsAPI
  5. Create a .env file in the root directory and add your API key:
    NEWS_API_KEY=your_api_key_here
    
  6. Run the application:
    python -m app.main
  7. Open your browser and go to http://localhost:5000

Features

  • Displays recent news about the Magnificent Seven stocks
  • Updates automatically when you refresh the page
  • Links to full articles
  • Responsive design for all devices

Links to the CI part tools that was used:

1- flake8 : https://realtpython.com/python-pep8

This is the Lint part of the workflow of the CI and this tool is using the pricipal of pep8 to maintain python community standards for consistency

2-

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published