mizhexiaoxiao ec2334034c Update
2023-08-16 16:10:16 +08:00
2023-08-15 16:09:22 +08:00
2023-08-16 16:10:16 +08:00
2023-08-16 14:50:35 +08:00
2023-08-16 15:58:30 +08:00
2023-08-16 14:50:35 +08:00
2023-08-16 14:50:35 +08:00
2023-08-11 17:57:41 +08:00
2023-08-16 14:50:35 +08:00
2023-08-16 14:50:35 +08:00
2023-08-16 14:50:35 +08:00
2023-08-16 16:10:16 +08:00
2023-08-15 16:09:22 +08:00
2023-08-15 16:09:22 +08:00

Vue FastAPI Admin Logo

vue-fastapi-admin

基于FastAPI + Vue3 + Naive UI的现代化前后端分离开发平台融合了RBAC权限管理、动态路由和JWT鉴权助力中小型应用快速搭建。

登录页

image

工作台

image

用户管理

image

角色管理

image

菜单管理

image

API管理

image

快速开始

方法一dockerhub拉取镜像

docker pull mizhexiaoxiao/vue-fastapi-admin:latest 
docker run -d --restart=always --name=vue-fastapi-admin -p 9999:80 mizhexiaoxiao/vue-fastapi-admin

方法二dockerfile构建镜像

docker安装(版本17.05+)
yum install -y docker-ce
systemctl start docker
构建镜像
git clone https://github.com/mizhexiaoxiao/vue-fastapi-admin.git
cd vue-fastapi-admin
docker build --no-cache . -t vue-fastapi-admin
启动容器
docker run -d --restart=always --name=vue-fastapi-admin -p 9999:80 vue-fastapi-admin
访问

http://localhost:9999

usernameadmin

password123456

本地启动

后端

启动项目需要以下环境:

  1. 创建虚拟环境
poetry shell
  1. 安装依赖
poetry install
  1. 启动服务
make run

服务现在应该正在运行,访问 http://localhost:9999/docs 查看API文档

前端

启动项目需要以下环境:

  • node v18.8.0+
  1. 进入前端目录
cd web

安装依赖(建议使用pnpm: https://pnpm.io/zh/installation)

npm i -g pnpm # 已安装可忽略
pnpm i # 或者 npm i

启动

pnpm dev
Description
No description provided
Readme MIT 43 MiB
Languages
Python 49.9%
Vue 38%
JavaScript 11.3%
CSS 0.3%
SCSS 0.2%
Other 0.3%