This is a fastapi scaff. (fastapi脚手架,一键生成项目或api,让开发变得更简单)
Python
1,185
40 commits
updated Oct 1, 2026
Architecture: ASM
Flow: main.py(app) - core(middleware) - api - services - models
Layout:
└── fastapi-scaff
├── app (应用)
│ ├── api ├── (接口)
│ │ └── v1 │ └── (版本1)
│ ├── core ├── (基础)
│ │ ├── conf │ ├── (配置)
│ │ ├── db │ ├── (数据库)
│ │ ├── log │ ├── (日志)
│ │ └── ... │ └── (...)
│ ├── models ├── (数据模型)
│ ├── services ├── (业务逻辑)
│ ├── utils ├── (工具集)
│ └── main.py └── (主入口)
├── app_celery (应用-异步任务)
├── config (配置目录)
├── docs (文档目录)
├── tests (测试目录)
├── .dockerignore
├── .gitignore
├── .python-version
├── docker-build.sh
├── docker-compose.yaml
├── Dockerfile
├── LICENSE
├── README.md
├── requirements.txt
└── runserver.py
【Other】
-t light)-t tiny)-t single)This package can be installed using pip (Python>=3.11):
pip install fastapi-scaff
fastapi-scaff -hfastapi-scaff new <myproj>fastapi-scaff new <myproj> -t lightfastapi-scaff new <myproj> -t tinyfastapi-scaff new <myproj> -t singlecd to project root dirfastapi-scaff add <myapi>fastapi-scaff new <myproj> --celeryfastapi-scaff tpl celery -p <mycelery>pip install -r requirements.txtpython runserver.py
fastapi-scaff new <myproj> --migrationpython runmigration.py generate initpython runmigration.py upgradeThis project is released under the MIT License (MIT). See LICENSE
享受开源,也感谢支持。
如果本项目对您有用,Buy Me a Coffee :)

43 followers · starred May 2025
72 followers · starred Jan 2026
30 followers · starred May 2025
This is a fastapi scaff. (fastapi脚手架,一键生成项目或api,让开发变得更简单)
Python
1,185
40 commits
updated Oct 1, 2026
Architecture: ASM
Flow: main.py(app) - core(middleware) - api - services - models
Layout:
└── fastapi-scaff
├── app (应用)
│ ├── api ├── (接口)
│ │ └── v1 │ └── (版本1)
│ ├── core ├── (基础)
│ │ ├── conf │ ├── (配置)
│ │ ├── db │ ├── (数据库)
│ │ ├── log │ ├── (日志)
│ │ └── ... │ └── (...)
│ ├── models ├── (数据模型)
│ ├── services ├── (业务逻辑)
│ ├── utils ├── (工具集)
│ └── main.py └── (主入口)
├── app_celery (应用-异步任务)
├── config (配置目录)
├── docs (文档目录)
├── tests (测试目录)
├── .dockerignore
├── .gitignore
├── .python-version
├── docker-build.sh
├── docker-compose.yaml
├── Dockerfile
├── LICENSE
├── README.md
├── requirements.txt
└── runserver.py
【Other】
-t light)-t tiny)-t single)This package can be installed using pip (Python>=3.11):
pip install fastapi-scaff
fastapi-scaff -hfastapi-scaff new <myproj>fastapi-scaff new <myproj> -t lightfastapi-scaff new <myproj> -t tinyfastapi-scaff new <myproj> -t singlecd to project root dirfastapi-scaff add <myapi>fastapi-scaff new <myproj> --celeryfastapi-scaff tpl celery -p <mycelery>pip install -r requirements.txtpython runserver.py
fastapi-scaff new <myproj> --migrationpython runmigration.py generate initpython runmigration.py upgradeThis project is released under the MIT License (MIT). See LICENSE
享受开源,也感谢支持。
如果本项目对您有用,Buy Me a Coffee :)

43 followers · starred May 2025
72 followers · starred Jan 2026
30 followers · starred May 2025