From e54cfdf0886bf088193264aa47b94d0c08f6ccb3 Mon Sep 17 00:00:00 2001 From: Tasawar Hussain <31658686+tasawar-hussain@users.noreply.github.com> Date: Tue, 9 Nov 2021 10:24:42 +0500 Subject: [PATCH] Update api.py Add code to start flask app --- .../03_coffee_shop_full_stack/starter_code/backend/src/api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/03_coffee_shop_full_stack/starter_code/backend/src/api.py b/projects/03_coffee_shop_full_stack/starter_code/backend/src/api.py index 6e0f634fb9e..003e0373a21 100755 --- a/projects/03_coffee_shop_full_stack/starter_code/backend/src/api.py +++ b/projects/03_coffee_shop_full_stack/starter_code/backend/src/api.py @@ -112,3 +112,7 @@ def unprocessable(error): @TODO implement error handler for AuthError error handler should conform to general task above ''' + +if __name__ == "__main__": + app.debug = True + app.run()