Check out example codes for "How to connect your app project with home.html". It will help you in understanding the concepts better.

Code Example 1

from flask import Flask, render_template

app = Flask(__name__)

@app.route("/")
def home():
    return render_template("home.html")
    
@app.route("/about)
def about():
    return render_template("about.html")
    
if __name__ == "__main__":
    app.run(debug=True)

Learn ReactJs, React Native from akashmittal.com