angao / Gin Xorm Admin
Licence: mit
使用 gin 和 xorm 搭建权限管理基础框架
Stars: ✭ 64
Programming Languages
javascript
184084 projects - #8 most used programming language
golang
3204 projects
Projects that are alternatives of or similar to Gin Xorm Admin
Ugin
UGin is an API boilerplate written in Go (Golang) with Gin Framework.
Stars: ✭ 110 (+71.88%)
Mutual labels: mysql, gin
Duckygo
一个同时支持Session以及JWT的高性能高可用 Golang Restful API 脚手架 !
Stars: ✭ 57 (-10.94%)
Mutual labels: mysql, gin
Wertik Js
💪 A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (-12.5%)
Mutual labels: mysql
Bookstoreapp Distributed Application
Ecommerce project is being developed using Spring Boot Microservices and Spring Cloud (Backend) and React (Frontend). Splitting the Ecommerce functionality into various individual microservices so that they can be distributed, scale really well and make use of resources efficiently.
Stars: ✭ 63 (-1.56%)
Mutual labels: mysql
Ascemu
Official AscEmu repo... a never ending place to work. With cutting edge technologies XD
Stars: ✭ 61 (-4.69%)
Mutual labels: mysql
Docker Backup Database
Docker image to periodically backup your database (MySQL, Postgres, or MongoDB) to S3 or local disk.
Stars: ✭ 57 (-10.94%)
Mutual labels: mysql
Warp
Convert and analyze large data sets at light speed, on Mac and iOS.
Stars: ✭ 62 (-3.12%)
Mutual labels: mysql
Serverauth
An advanced authentication plugin for PocketMine-MP
Stars: ✭ 58 (-9.37%)
Mutual labels: mysql
说明
此项目只是用来熟悉gin和xorm,所以如果出现使用错误或者其他错误,还请提issue说明,看到我会及时回复!
功能
由于本人前端技术比较菜,所以本项目中的模板页面是从开源项目 Guns 中抽离的,Guns 是个Java项目,模板引擎使用的是 beetl
,gin是无法渲染的,所以将 beetl
页面改成了HTML页面,中间难免有错误还请见谅!
本项目用到的技术栈:gin
, xorm
, xormplus
,数据库是MySQL。
主要功能也是参考 Guns 项目,当然没有那么丰富,包括用户登录,用户角色管理,权限分配,部门管理等等
启动
默认登录用户名和密码:
admin/111111
,boss/111111
1、将sql目录下的gin.sql在MySQL中执行
2、直接执行 main.go
启动项目,main函数中定义了默认的端口3000,可以按照需求自己改
3、如果执行了 go install
,也可以通过二进制执行 ./gin-xorm-admin
, 可以在后面跟上参数 --port
可以修改默认端口
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].