A CS50 project - Flask application that simulates stock trading with real stock data
- Clone the repository
git clone git@github.com:tomwhross/finance.git
cd finance/
- Optionally setup a virtual environment
python -m venv .
source bin/activate
- Install the requirements
pip install -r requirements.txt
- Set the Flask app environment variable
export FLASK_APP=application.py
- Set the IEXCloud API key (Register for a free plan here)
export API_KEY=<iexcloud_api_key>
- Start the development server
flask run