To connect to the database, use the credentials bellow:
Server: sql4.freemysqlhosting.net
Name: sql4396600
Usr: sql4396600
Passw: FflNQBLCS7
Port number: 3306
- download the contents of the
server
folder - set up a virtual environment
python -m venv venv
- activate the virtual env.
venv\Scripts\activate
- install flask in it
pip install Flask
- install flask-mysqldb
pip install flask-mysqldb
- set up the starting file for flask
$env:FLASK_APP = "main.py"
- run it!
flask run
- Go to
http://localhost:5000/