From 5415d80733b095afcd1c7a1f592ab263af8bcfc8 Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Sat, 17 Nov 2018 09:12:55 +0100 Subject: [PATCH] Basic flask app --- backend/src/app.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 backend/src/app.py diff --git a/backend/src/app.py b/backend/src/app.py new file mode 100644 index 0000000..0cc56af --- /dev/null +++ b/backend/src/app.py @@ -0,0 +1,9 @@ +import logging +from flask import Flask, Response + +app = Flask(__name__) +app.logger.setLevel(logging.INFO) + +@app.route('/') +def index(): + return Response('HI!')