# RuoYi-Vue3-FastAPI **Repository Path**: zzjhacn/RuoYi-Vue3-FastAPI ## Basic Information - **Project Name**: RuoYi-Vue3-FastAPI - **Description**: 基于Vue3+Element Plus+FastAPI开发的一个通用中后台管理框架(若依的FastAPI版本),支持代码生成 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: https://vfadmin.insistence.tech/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 258 - **Created**: 2025-04-25 - **Last Updated**: 2025-04-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

logo

RuoYi-Vue3-FastAPI v1.6.2

基于RuoYi-Vue3+FastAPI前后端分离的快速开发框架

## 平台简介 Forked from [insistence2022/RuoYi-Vue3-FastAPI](https://gitee.com/insistence2022/RuoYi-Vue3-FastAPI) ,项目基本信息请移步原项目查看。 ## 修改点 ### 后端 1. [x] 添加对sqlite的支持: `DataBaseConfig.db_type = 'sqlite'` ,并整合 `DataBaseConfig.db_url(_aio)`,适配自定义函数`find_in_set` 2. [x] 对redis的依赖变为可选: `RedisConfig.redis_host = 'mem'`时使用 `fakeredis` 替代(轻量级部署可以不用redis) 3. [x] 高度集成通用CRUD,无特殊需求的CRUD仅需定义DO即可,有特殊需求的可以灵活扩展。示例: - [blog.py](ruoyi-fastapi-backend/module_blog/blog.py) - `server.py` 中 `controller_list` 添加相应的引用 `{'router': blogController, 'tags': ['Blog']}` 4. [x] 引入`alembic`,并将初始数据引入到`alembic`脚本中(见[b6aaae77eb4b_init.py](ruoyi-fastapi-backend/alembic_pkg/versions/b6aaae77eb4b_init.py)),用法: - 变更模型(新增模型、变更字段等)后,手动执行 `alembic revision --autogenerate -m "xxx"` - 直接启动应用即可完成自动迁移 ### 前端 1. [x] 去除对 `ant-design` 的依赖