Basic flask app

This commit is contained in:
Alex Wright 2018-11-17 09:12:55 +01:00
parent 26b8557e3f
commit 5415d80733
1 changed files with 9 additions and 0 deletions

9
backend/src/app.py Normal file
View File

@ -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!')