1 Star 13 Fork 10

可乐还是百事好 / cookiecutter-fastapi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

安装

pip install cookiecutter

使用

cookiecutter https://gitee.com/if-always/cookiecutter-fastapi

结构

api                // 接口函数
component          // 常用组件(mysql、redis......)
core               // fastapi 核心层
log                // 日志
models             // 模板
network            // 网络请求封装
router             // 路由
service            // view层
timer              // 定时器
util               // 工具函数

debug.py           // 本地测试入口
defines.py         // 常量定义
env.py             // 配置文件
main.py            // 线上入口
Dockerfile         // docker
docker-compose.yml // compose 启动 

鸣谢

日志类以及数据库的封装参考feapder  https://github.com/Boris-code/feapder

联系 image

空文件

简介

fastapi模板 展开 收起
Python 等 3 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/if-always/cookiecutter-fastapi.git
git@gitee.com:if-always/cookiecutter-fastapi.git
if-always
cookiecutter-fastapi
cookiecutter-fastapi
master

搜索帮助