Use Python, Flask and MySQL to create a simple web application where users can register, sign in and create their bucket list.
Setting up Flask is pretty simple and quick. With pip package manager, all we need to do is:
pip install flask
from flask import Flask
app = Flask(__name__)
@app.route("/")
def main():
return "Welcome!"
if __name__ == "__main__":
app.run()
Save the changes and execute app.py:
python app.py
Point your browser to http://localhost:5000/ and you should have the welcome message.