All Projects → snowlyg → Irisadminapi

snowlyg / Irisadminapi

Licence: mit
iris 框架的后台api项目

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Irisadminapi

iris-admin
Web admin for iris-go framwork
Stars: ✭ 602 (+10.66%)
Mutual labels:  apidoc, excel, gorm, casbin
Ultimate Go
This repo contains my notes on working with Go and computer systems.
Stars: ✭ 1,530 (+181.25%)
Mutual labels:  gorm, docker-compose
Gorm Adapter
Gorm adapter for Casbin
Stars: ✭ 373 (-31.43%)
Mutual labels:  gorm, casbin
ginadmin
基于Gin开发的后台管理系统,集成了、数据库操作、日志管理、权限分配管理、多模板页面、自动分页器、数据库迁移和填充、Docker集成部署等功能、静态资源打包
Stars: ✭ 149 (-72.61%)
Mutual labels:  gorm, casbin
gt-crud
gin+gorm+mysql+api[两步自动crud]
Stars: ✭ 15 (-97.24%)
Mutual labels:  gorm, casbin
fiber-boilerplate
This is the go boilerplate on the top of fiber web framework. With simple setup you can use many features out of the box
Stars: ✭ 184 (-66.18%)
Mutual labels:  gorm, casbin
golang-example-app
Example application
Stars: ✭ 138 (-74.63%)
Mutual labels:  gorm, casbin
Go-Gin-Api
基于golang开源框架 gin封装的api框架
Stars: ✭ 42 (-92.28%)
Mutual labels:  gorm, casbin
Go Admin
基于Gin + Vue + Element UI的前后端分离权限管理系统脚手架(包含了:多租户的支持,基础用户管理功能,jwt鉴权,代码生成器,RBAC资源控制,表单构建,定时任务等)3分钟构建自己的中后台项目;文档:https://doc.go-admin.dev Demo: https://www.go-admin.dev Antd beta版本:https://preview.go-admin.dev
Stars: ✭ 5,439 (+899.82%)
Mutual labels:  casbin, gorm
Zeus Admin
Zeus基于Golang Gin +casbin,致力于做企业统一权限&账号中心管理系统。包含账号管理,数据权限,功能权限,应用管理,多数据库适配,可docker 一键运行。社区活跃,版本迭代快,加群免费技术支持。
Stars: ✭ 404 (-25.74%)
Mutual labels:  gorm, casbin
Ambientum
Docker native solution for running Laravel projects. From Development to Production
Stars: ✭ 487 (-10.48%)
Mutual labels:  docker-compose
Phpmyfaq
phpMyFAQ - Open Source FAQ web application for PHP and MySQL, PostgreSQL and other databases
Stars: ✭ 494 (-9.19%)
Mutual labels:  docker-compose
Umbrel
A personal Bitcoin and Lightning node designed for everyone
Stars: ✭ 508 (-6.62%)
Mutual labels:  docker-compose
Reogrid
Fast and powerful .NET spreadsheet component, support data format, freeze, outline, formula calculation, chart, script execution and etc. Compatible with Excel 2007 (.xlsx) format and working on .NET 3.5 (or client profile), WPF and Android platform.
Stars: ✭ 532 (-2.21%)
Mutual labels:  excel
Corexlsx
Excel spreadsheet (XLSX) format parser written in pure Swift
Stars: ✭ 481 (-11.58%)
Mutual labels:  excel
React Handsontable
React Data Grid with Spreadsheet Look & Feel. Official React wrapper for Handsontable.
Stars: ✭ 511 (-6.07%)
Mutual labels:  excel
Madclones
A collection of frameworks that I love with a strong focus on clean code, testing, software architecture/design and devops.
Stars: ✭ 480 (-11.76%)
Mutual labels:  docker-compose
Compose Postgres
Postgresql & pgadmin4 powered by compose
Stars: ✭ 477 (-12.32%)
Mutual labels:  docker-compose
Baseline
The Baseline Protocol is an open source initiative that combines advances in cryptography, messaging, and blockchain to execute secure and private business processes at low cost via the public Ethereum Mainnet. The protocol will enable confidential and complex collaboration between enterprises without leaving any sensitive data on-chain
Stars: ✭ 479 (-11.95%)
Mutual labels:  docker-compose
Vagrant Docker Compose
A Vagrant provisioner for docker compose.
Stars: ✭ 537 (-1.29%)
Mutual labels:  docker-compose

IrisAdmin

Code Coverage Go Report Card GoDoc Licenses

简单项目仅供学习,欢迎指点!

演示地址

主分支: http://irisadminapi.snowlyg.com

IRIS V12 中文文档

账号/密码 : username/123456

Iris-go 学习交流 QQ 群 :676717248

Iris-go

项目开发过程详解

1.Iris-go 项目登陆 API 构建细节实现过程

2.iris + casbin 从陌生到学会使用的过程


  • 安装项目依赖

加载依赖管理包 (解决国内下载依赖太慢问题) 使用国内七牛云的 go module 镜像。

参考 https://github.com/goproxy/goproxy.cn。

阿里: https://mirrors.aliyun.com/goproxy/

官方: https://goproxy.io/

中国:https://goproxy.cn

其他:https://gocenter.io

golang 1.13+ 可以直接执行:
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
  • 复制配置文件
cp application.example.yml application.yml

修改配置文件 application.yml

  • 运行项目

如果想使用 go run main.go --config 命令运行,注意不用 --config 指定配置路径,将无法加载配置文件

 go run main.go --config your_config_path

推荐使用 air 热编译工具

# 安装工具 air     
go get -u github.com/cosmtrek/air

cp .air.example.conf  .air.conf # 复制后修改 .air.conf 文件,默认为 mac 环境

air
  • 填充数据, 注意配置文件同项目配置文件,权限数据位于 tools/seed/data
go build -o seed tools/seed/main.go 
./seed --config your_config_path --path youer_seed_data_path

postman 接口

https://www.getpostman.com/collections/048078cdfd16667352b0

运行测试

go test ./...

感谢

JetBrains 对本项目的支持。

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].