16 lines
		
	
	
		
			385 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			385 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # -*- coding: utf-8 -*-
 | |
| """
 | |
| Project: Analyse worldwide COVID-19 Data and provide graphs etc.
 | |
| 
 | |
| @author Patrick Müller
 | |
| """
 | |
| from modules import flask
 | |
| 
 | |
| 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() |