{"repo":"kaxiluo/fastapi-skeleton","free":true,"listed":false,"github":"https://github.com/kaxiluo/fastapi-skeleton","clone":"git clone https://github.com/kaxiluo/fastapi-skeleton.git","description":"fastapi skeleton. framework integration orm jwt-auth loguru dotenv APScheduler...","language":"Python","stars":226,"topics":["fastapi","skeleton"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"FastAPI Skeleton 基于 FastAPI + SQLModel + SQLAlchemy 2.0 的异步 API 项目骨架，完全异步化，开箱即用。 环境要求 - Python 3.12+ - MySQL 5.7+ - Redis - uv (Python 包管理器) 安装依赖 配置 复制 config.example.yaml 为 config.yaml ，并根据实际环境修改配置： 配置支持环境变量替换，格式： ${VAR NAME:默认值} 启动服务 Web API 服务 定时任务调度器 项目结构 核心特性 异步架构 - 完全异步化的路由、服务、数据库访问 - SQLAlchemy 2.0 + aiomysql - Redis 异步客户端 配置管理 - YAML 配置文件 - 环境变量替换 - 按功能模块划分配置 认证系统 - JWT 认证 - 用户名+密码登录 - 手机号+验证码登录 日志系统 - 基于标准库 logging - 时区感知 - 文件轮转 - 分级日志 定时任务 - 基于 APScheduler - 自动发现和注册 - 异步执行 中间件 - 全局 CORS 中间件 异常处理 - 统一的异常处理器 - 认证异常类 设计思想 - 层级结构清晰 - 简洁优雅 - 易于扩展 - 开箱即用 代码结构组织风格参考 Laravel 框架","default_branch":null,"files":null,"tree":[],"storefront":"/r/kaxiluo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kaxiluo/fastapi-skeleton/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}