An open API service indexing awesome lists of open source software.

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权限管理系统

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); %}

```

# 系统截图

## 首页

![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)