Skip to content

FastAPI 模板,FastAPI-0.70(Python-3.9) + tortoise-orm-0.17(aiomysql) + httpx-0.21

Notifications You must be signed in to change notification settings

sekil9529/fastapi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-demo

环境

  • Python == 3.9
  • fastapi == 0.70
  • tortoise-orm == 0.17
  • aiomysql
  • httpx == 0.21

启动方式

  1. 命令行
# 本地
python manage.py

# 测试
python -m gunicorn manage:app -b 0.0.0.0:8000 -w 2 -k uvicorn.workers.UvicornWorker --max-requests 10000

About

FastAPI 模板,FastAPI-0.70(Python-3.9) + tortoise-orm-0.17(aiomysql) + httpx-0.21

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages