add quart basic

This commit is contained in:
Luna Mendes 2018-06-16 02:33:16 -03:00
parent 78c28ba5e5
commit 8961838148
2 changed files with 14 additions and 0 deletions

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
Quart==0.6.0
asyncpg==0.16.0

12
run.py Normal file
View File

@ -0,0 +1,12 @@
import logging
import asyncpg
from quart import Quart, g
logging.basicConfig(level=logging.INFO)
app = Quart(__name__)
@app.route('/')
async def index():
return 'hai'