Minimalist version of an app that gets the stock price of stock ticker using an 3rd party API
-
Create a dedicated new folder for the project
-
Change directory to the new folder
cd stock_app/
-
Set up the virtual environment of Python
python -m venv env
-
Activate the new environment using the script
source env/bin/activate
-
Install the required libraries
pip install -r requirements.txt
-
Set and run the Flask server
FLASK_APP=server FLASK_ENV=development flask run
-
Launch your web browser and type the following url