Changes to be committed:

modified:   README.md
	new file:   app/logger.py
	new file:   app/main.py
	new file:   configs/app.json
	new file:   configs/logger.ini
	new file:   run.py
This commit is contained in:
2021-05-23 15:50:45 -07:00
parent fd1ae40dfa
commit 39e6c9685a
6 changed files with 60 additions and 0 deletions

8
run.py Normal file
View File

@@ -0,0 +1,8 @@
import uvicorn
from app import main
from loguru import logger
app = main.app
if __name__ == '__main__':
uvicorn('app.main:app', host=app.host, port=app.port)