Skip to content
/ T-fastapi Public template

🔒 📦 FastApi framework back end development template.【基于FastApi框架的后端开发模板】

License

Notifications You must be signed in to change notification settings

SystemLight/T-fastapi

Repository files navigation

T-fastapi

fastapi项目开发模板

用法

  1. 运行项目
pipenv install
uvicorn main:app --host 0.0.0.0 --port 5000 --reload
  1. 反向生成ORM模型
# sqlite
sqlacodegen --outfile models.py sqlite:https:///database.db

# mysql
sqlacodegen --outfile models.py mysql+pymysql:https://root:[email protected]:3306/test?charset=utf8

License

T-fastapi uses the MIT license, see LICENSE file for the details.

About

🔒 📦 FastApi framework back end development template.【基于FastApi框架的后端开发模板】

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages