Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feihua/rocket-admin
是基于rocket和rbatis的rbac权限管理系统rocket_admin
https://github.com/feihua/rocket-admin
rocket rust
Last synced: about 1 month ago
JSON representation
是基于rocket和rbatis的rbac权限管理系统rocket_admin
- Host: GitHub
- URL: https://github.com/feihua/rocket-admin
- Owner: feihua
- License: apache-2.0
- Created: 2022-12-07T14:04:56.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T02:18:56.000Z (3 months ago)
- Last Synced: 2024-09-11T07:11:40.979Z (3 months ago)
- Topics: rocket, rust
- Language: Rust
- Homepage:
- Size: 898 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rocket-admin
是基于rocket和rbatis的rbac权限管理系统
# 前端项目
```
https://github.com/feihua/antd-admin.git
```# 相关rust web框架项目
```
https://github.com/feihua/actix-admin.git # actix-web框架
https://github.com/feihua/axum-admin.git # axum框架
https://github.com/feihua/salvo-admin.git # salvo-web框架
```# 预览地址
[http://110.41.179.89/salvo](http://110.41.179.89/salvo) 账号:18613030352 密码:123456
# 本地启动
```
1.创建数据库并导入sql脚本
2.修改main.rs代码中的 RB.init(rbdc_mysql::driver::MysqlDriver {}, "mysql://root:[email protected]:3306/rustdb").unwrap(); 为你自己的数据信息
3.启动 cargo run main.rs
4.验证脚本在docs目录下,请求接口前要先执行登录接口(user.http文件中)POST {{host}}/api/login
Content-Type: application/json{
"mobile": "18613030352",
"password": "123456"
}
> {% client.global.set("token", response.body.data.token); %}```
# 系统截图
## 首页
![home](docs/images/home.png)
## 用户界面
![user](docs/images/user.png)
## 角色分配界面
![user-role](docs/images/user-role.png)
## 角色界面
![role](docs/images/role.png)
## 菜单分配界面
![role-menu](docs/images/role-menu.png)
## 菜单界面
![menu](docs/images/menu.png)