# fastapi-course **Repository Path**: wtfocus/fastapi-course ## Basic Information - **Project Name**: fastapi-course - **Description**: 《FastAPI 开发实战》系列文章代码 从零开始,深入学习 FastAPI! - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-01-16 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, FastAPI ## README ## FastAPI 开发实战 ### 介绍 从零开始,深入学习 FastAPI ! 包括 FastAPI、RESTful API、SQLAlchemy、OAuth、JWT 等等内容。 ### 代码篇 下面列出的是 公众号/CSDN/知乎 文章对应的项目代码。 如需详细了解,可点击标题,跳转到具体项目目录查看。 11.1、 [你的API在裸奔?踩坑8小时,从“越权裸奔”到“权限严控”:FastAPI+JWT+依赖注入,这套方案闭眼抄](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_11/README.md) 12.1、[别等被骂才后悔:APP上线前,一定要把SQLite换成PostgreSQL,附 FastAPI对接代码](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_12/README.md) 12.2、[别等着被骂:API上线前,一定要把SQLite换成MySQL,附 FastAPI对接代码](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_12/README.md) 13、[加个字段,服务崩了?FastAPI新手避坑,Alembic三步搞定表结构变更!方案闭眼抄](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_13/README.md) 14.1、[新功能上线就崩?Pytest三步测试法,让你的FastAPI稳如老狗,Bug率直降80%](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_14/README.md) 14.2、[测试别踩坑!FastAPI隔离数据库+Mock用户,守住职场安全线](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_14/README.md) 14.3、[别堆代码了!Pytest Fixture优雅搞定测试数据管理,附 CURD 全接口代码直接抄](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_14/README.md) 14.4、[救命!FastAPI 测试三大坑:密码哈希、异步报错、认证失败,Pytest 一站式解决(附完整代码)](https://gitee.com/wtfocus/fastapi-course/blob/master/code/Chapter_14/README.md) ### 交流渠道 欢迎关注我的 WX 公众号:**【王二哥的技术笔记】**,获取更多 FastAPI、Python 优质内容。 ![公众号二维码_12](https://gitee.com/wtfocus/WTao-Tech/raw/master/assets/公众号二维码_12.jpeg) ### 感谢 Star 如果这个项目对你有帮助,请给一个 **Star** ⭐️ 支持一下!