diff --git a/app.py b/app.py index 3328e0f..02802ea 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,4 @@ -from flask import Flask, jsonify, request +from flask import Flask, jsonify, request, render_template app = Flask(__name__) @@ -15,6 +15,11 @@ ] +@app.route('/') +def home(): + return render_template('index.html') + + # POST /store data: {name:} @app.route('/store', methods=['POST']) def create_store(): diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f9040da --- /dev/null +++ b/templates/index.html @@ -0,0 +1,25 @@ + + + + + +
+ Hello, world! +
+ + + + \ No newline at end of file