Skip to content

ntex-admin是基于ntex和diesel的rbac权限管理系统

License

Notifications You must be signed in to change notification settings

feihua/ntex-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

用户界面

user

角色分配界面

user-role

角色界面

role

菜单分配界面

role-menu

菜单界面

menu

Releases

No releases published

Packages

No packages published

Languages