A local web application that displays recent news about the Magnificent Seven tech stocks (Apple, Microsoft, Alphabet, Amazon, NVIDIA, Meta, and Tesla).asd
- Clone this repository
- Get an API key from NewsAPI
- Create a
.env
file in the root directory and add your API key:NEWS_API_KEY=your_api_key_here
- Build and run with Docker Compose:
docker-compose up --build
- Open your browser and go to
http://localhost:5000
- Clone this repository
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install requirements:
pip install -r requirements.txt
- Get an API key from NewsAPI
- Create a
.env
file in the root directory and add your API key:NEWS_API_KEY=your_api_key_here
- Run the application:
python -m app.main
- Open your browser and go to
http://localhost:5000
- 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-