Here is the application code that you can use for project1. This is a very basic flask app for python, feel free to add more to the website if you know how.
Step 1. download this repo to your local machine https://github.com/bdgomey/Azure104Project1.git and cd into that directory
Step 3. Add your mysql connection string to the app.py file. There will be 3 places to put this information the first one in the code will not have a database entry, please keep the connection string in the code as it is.
db = mysql.connector.connect(
host="",
user="",
passwd="",
database="to_do_list"
)docker login -u <your dockerhub username>
# enter your password
docker build -t <your dockerhub username>/<appName> .
docker push <your dockerhub username>/<appName>make sure to use your dockerhub username you had when you created the dockerhub account.