Basic flask app
This commit is contained in:
		
							parent
							
								
									26b8557e3f
								
							
						
					
					
						commit
						5415d80733
					
				
							
								
								
									
										9
									
								
								backend/src/app.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								backend/src/app.py
									
									
									
									
									
										Normal 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!') | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Alex Wright
						Alex Wright