ldap-1-backend/README.md

166 lines
7.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 align="center">Go Ldap Admin</h1>
<div align="center">
[![Auth](https://img.shields.io/badge/Auth-eryajf-ff69b4)](https://github.com/eryajf)
[![Go Version](https://img.shields.io/github/go-mod/go-version/eryajf-world/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin)
[![Gin Version](https://img.shields.io/badge/Gin-1.6.3-brightgreen)](https://github.com/eryajf/go-ldap-admin)
[![Gorm Version](https://img.shields.io/badge/Gorm-1.20.12-brightgreen)](https://github.com/eryajf/go-ldap-admin)
[![Status](https://img.shields.io/badge/status-active-success.svg)](https://github.com/eryajf/go-ldap-admin)
[![GitHub Issues](https://img.shields.io/github/issues/eryajf/go-ldap-admin.svg)](https://github.com/eryajf/go-ldap-admin/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/pulls)
[![GitHub Pull Requests](https://img.shields.io/github/stars/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/stargazers)
[![GitHub license](https://img.shields.io/github/license/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/blob/main/LICENSE)
</div>
---
<p align="center"> 🌉 基于Go+Vue实现的openLDAP后台管理项目。
<br>
</p>
<p align="center">
<a href="" rel="noopener">
<img src="https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220614_131521.jpg" alt="Project logo"></a>
</p>
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**目录**
- [🏊 在线体验](#-%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C)
- [👨‍💻 项目地址](#-%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80)
- [🔗 文档快链](#-%E6%96%87%E6%A1%A3%E5%BF%AB%E9%93%BE)
- [🥰 感谢](#-%E6%84%9F%E8%B0%A2)
- [🤗 另外](#-%E5%8F%A6%E5%A4%96)
- [⚡ 加群](#-%E5%8A%A0%E7%BE%A4)
- [🤑 捐赠](#-%E6%8D%90%E8%B5%A0)
- [📝 使用登记](#-%E4%BD%BF%E7%94%A8%E7%99%BB%E8%AE%B0)
- [🤝 贡献者](#-%E8%B4%A1%E7%8C%AE%E8%80%85)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## 🏊 在线体验
提供在线体验地址如下:
| 分类 | 地址 | 用户名 | 密码 |
| :-----------: | :----------------------------------------------------------: | :-----------------------: | ------ |
| go-ldap-admin | [http://demo-go-ldap-admin.eryajf.net](http://demo-go-ldap-admin.eryajf.net) | admin | 123456 |
| phpLdapAdmin | [http://demo-go-ldap-admin.eryajf.net:8091/](http://demo-go-ldap-admin.eryajf.net:8091/) | cn=admin,dc=eryajf,dc=net | 123456 |
在线环境可能不稳,如果遇到访问异常,或者数据错乱,请联系我进行修复。
**页面功能概览:**
<details><summary> 👉 展开查看</summary>
`登陆页`
![image_20220608_103118](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103118.png)
- 登录页背景图秉持go-ldap-admin项目定位以一座抽象的高架桥梁作为背景。
- 注意红框中的忘记密码,此处是普通用户在忘记密码的情况下,可通过输入邮箱对密码进行重置,重置成功之后,系统会自动生成密码,并发送到用户邮箱。
- 部分公司的企业邮箱也是基于ldap进行认证的那么这里可能会是个死循环目前暂时不兼容考虑这种情况后续如果这个场景的需求比较多可以考虑再集成其他收信方式。
> 以上方式是用户忘记密码之后的自助修改密码方式,还有一种修改密码方式,是用户登录个人账号之后,在个人中心,通过输入原密码以及新密码进行密码重置。
`首页`
![image_20220608_103823](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103823.png)
目前首页中红框部分内容仅作为占位,并无实际数据含义。
`用户管理`
![image_20220608_103925](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103925.png)
`分组管理`
![image_20220608_104609](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_104609.png)
</details>
## 👨‍💻 项目地址
| 分类 | GitHub | Gitee |
| :--: | :--------------------------------------------------: | :-------------------------------------------------: |
| 后端 | https://github.com/eryajf/go-ldap-admin.git | https://gitee.com/eryajf-world/go-ldap-admin.git |
| 前端 | https://github.com/eryajf/go-ldap-admin-ui.git | https://gitee.com/eryajf-world/go-ldap-admin-ui.git |
## 🔗 文档快链
项目相关介绍,使用,最佳实践等相关内容,都会在官方文档呈现,如有疑问,请先阅读官方文档,以下列举以下常用快链。
- [官网地址](http://ldapdoc.eryajf.net)
- [项目背景](http://ldapdoc.eryajf.net/pages/101948/)
- [快速开始](http://ldapdoc.eryajf.net/pages/706e78/)
- [功能概览](http://ldapdoc.eryajf.net/pages/7a40de/)
- [本地开发](http://ldapdoc.eryajf.net/pages/cb7497/)
- [生产部署](http://ldapdoc.eryajf.net/pages/5769c4/)
## 🥰 感谢
感谢如下优秀的项目没有这些项目不可能会有go-ldap-admin
- 后端技术栈
- [Gin-v1.6.3](https://github.com/gin-gonic/gin)
- [Gorm-v1.20.12](https://github.com/go-gorm/gorm)
- [Go-ldap-v3.4.2](https://github.com/go-ldap/ldap)
- [Casbin-v2.22.0](https://github.com/casbin/casbin)
- 前端技术栈
- [element-ui](https://github.com/ElemeFE/element)
- [axios](https://github.com/axios/axios)
- 另外感谢
- [go-web-mini](https://github.com/gnimli/go-web-mini):项目基于该项目重构而成,感谢作者的付出。
## 🤗 另外
- 如果觉得项目不错麻烦动动小手点个⭐star⭐!
- 如果你还有其他想法或者需求欢迎在issue中交流
- 程序还有很多bug欢迎各位朋友一起协同共建
## ⚡ 加群
如果想要加群交流,可通过搜索 eryajf 添加我的微信,备注 ldap 拉你进群。
## 🤑 捐赠
如果你觉得这个项目对你有帮助,你可以请作者喝杯咖啡 ☕️ [点我](http://ldapdoc.eryajf.net/pages/2b6725/)
## 📝 使用登记
如果你所在公司使用了该项目,烦请在这里留下脚印,感谢支持🥳 [点我](https://github.com/eryajf/go-ldap-admin/issues/18)
## 🤝 贡献者
<!-- readme: collaborators,contributors -start -->
<table>
<tr>
<td align="center">
<a href="https://github.com/eryajf">
<img src="https://avatars.githubusercontent.com/u/33259379?v=4" width="100;" alt="eryajf"/>
<br />
<sub><b>二丫讲梵</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/xinyuandd">
<img src="https://avatars.githubusercontent.com/u/3397848?v=4" width="100;" alt="xinyuandd"/>
<br />
<sub><b>Xinyuandd</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/0x0034">
<img src="https://avatars.githubusercontent.com/u/39284250?v=4" width="100;" alt="0x0034"/>
<br />
<sub><b>0x0034</b></sub>
</a>
</td></tr>
</table>
<!-- readme: collaborators,contributors -end -->