Skip to content

khadomills/StockViewer

Repository files navigation

Stock Viewer Project


Overview


The Stock Viewer is a web application designed for personal investors and financial enthusiasts to track and view details of various prominent stocks. This application provides daily up-to-date information on 15 major companies, leveraging the Flask framework for the backend, Bootstrap for a responsive front-end design, and SQLite3 for efficient data storage.

The 15 Stocks shown in this application are:
Amazon: AMZN
Apple: AAPL
Dell: DELL
GameStop: GME
Google Class A: GOOGL
HP: HPQ
Intel: INTC
Lyft: LYFT
Microsoft: "MSFT
Netflix: "NFLX
NVIDIA: "NVDA
Tesla: TSLA
T-Mobile: TMUS
Uber: UBER
Verizon: VZ


Features


Stock Information: View real-time data on stocks like Dell, GameStop, Alphabet, and more.
Responsive Design: Utilizing Bootstrap, the app offers a seamless experience on both desktop and mobile devices.
Data Persistence: Uses SQLite3 to store and retrieve stock data efficiently.


Prerequisites / Deployment


Before you begin, ensure you have met the following requirements:
Python 3.x
Flask
SQLite3
An API key from [Rapid API: https://rapidapi.com/alphavantage/api/alpha-vantage/pricing]

Installation:

To install the Stock Viewer, follow these steps:
Clone the repo:

git clone https://github.com/khadomills/StockViewer.git

Install the necessary Python packages:

pip install -r requirements.txt

Setup:

Set your API key in the environment variables:
create a .env file in the project folder add the code below with your API from Rapid API

API_KEY = "ADD YOUR API KEY HERE"

Initialize the SQLite3 database:

python init_db.py

Running the Application:

To run the Stock Viewer, use the following command:

flask run

The application will be available at http://localhost:5000.

Contributing

We welcome contributions to the Stock Viewer Project.
If you have suggestions or improvements, please fork the repository and create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5