diff --git a/flaskapp/flaskapp.py b/flaskapp/flaskapp.py index 524a629..c92eb28 100644 --- a/flaskapp/flaskapp.py +++ b/flaskapp/flaskapp.py @@ -1,9 +1,14 @@ from flask import Flask app = Flask(__name__) +#intialize directory in chich app begins +#preempt http requester methods to be used (GET, POST) @app.route('/', methods=['GET', 'POST']) + def index(): + #displays index page within the '/' directory return render_template('index.html') if __name__ == '__main__': + #run the app from main app.run()