covid-19-analysis/HttpRequestHandler.py

16 lines
385 B
Python
Raw Normal View History

2020-03-28 15:55:34 +00:00
# -*- coding: utf-8 -*-
"""
Project: Analyse worldwide COVID-19 Data and provide graphs etc.
@author Patrick Müller
"""
2020-03-28 16:52:33 +00:00
from modules import flask
2020-03-28 15:55:34 +00:00
2020-03-28 16:52:33 +00:00
app = flask.Flask(__name__)
app.config['DEBUG'] = True
@app.route('/', methods=['GET'])
def home():
return "<h1>Distant Reading Archive</h1><p>This site is a prototype API for distant reading of science fiction novels.</p>"
app.run()