https://github.com/feihua/ntex-admin
ntex-admin是基于ntex和diesel的rbac权限管理系统
https://github.com/feihua/ntex-admin
diesel diesel-cli diesel-r2d2 diesel-rs ntex ntex-web rust-orm
Last synced: 4 months ago
JSON representation
ntex-admin是基于ntex和diesel的rbac权限管理系统
- Host: GitHub
- URL: https://github.com/feihua/ntex-admin
- Owner: feihua
- License: apache-2.0
- Created: 2023-08-21T09:44:53.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T01:31:16.000Z (5 months ago)
- Last Synced: 2025-05-28T02:40:57.880Z (5 months ago)
- Topics: diesel, diesel-cli, diesel-r2d2, diesel-rs, ntex, ntex-web, rust-orm
- Language: Rust
- Homepage:
- Size: 1.76 MB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ntex-admin
是基于ntex和diesel的rbac权限管理系统
# 前端项目
```
https://github.com/feihua/antd-admin.git
```# 相关rust web框架项目
```
https://github.com/feihua/actix-admin.git # actix-web框架
https://github.com/feihua/rocket-admin.git # rocket框架
https://github.com/feihua/axum-admin.git # axum框架
https://github.com/feihua/salvo-admin.git # salvo框架
```# 预览地址
http://139.159.180.129:81/salvo 账号:18613030352 密码:123456
# 本地启动
```
1.cargo install diesel_cli --no-default-features --features mysql 安装diesel_cli命令行
2.修改echo DATABASE_URL=mysql://username:password@localhost/diesel_demo > .env 为你自己的数据信息
3.执行 diesel setup 如果diesel_demo数据库不存在,则创建
4.执行 diesel migration run 初始化脚本数据
5.启动 cargo run main.rs
6.验证脚本在docs目录下,请求接口前要先执行登录接口(user.http文件中)POST {{host}}/api/login
Content-Type: application/json{
"mobile": "18613030352",
"password": "123456"
}
> {% client.global.set("token", response.body.data.token); %}```
# 系统截图
## 首页

## 用户界面

## 角色分配界面

## 角色界面

## 菜单分配界面

## 菜单界面
