Code Monkey home page Code Monkey logo

gin-template's Introduction

GIN-TEMPLATE

GIN-TEMPLATE是一款基于GIN的后台框架,支持对接vue-element-admin、vue-admin-template、vue-admin-beautiful等前端框架

🎉 特性

  • 💪 AES加密
  • 💅 RBAC 模型
  • 🌍 JWT 权限控制
  • 📦️ 接口流量控制
  • 💪 日志管理
  • 📦️ 微服务架构
  • 🌍 短信服务
  • 💪 邮件服务
  • 💅 配置管理
  • 👏 良好的类型定义
  • 🥳 开源版本支持免费商用

演示地址

安装

# 克隆项目
git clone https://github.com/MrLeeang/gin-template.git
# 进入项目目录
cd gin-template
# 安装依赖
go mod tidy
# 本地开发 启动项目
go run cmd/appv1/main.go
go run cmd/service/main.go
# 打包
go build -o app cmd/appv1/main.go
go build -o srv cmd/service/main.go

友情链接

gin-template golang学习交流群-377948518

不管您加或者不加,您都可以享受到开源的代码,感谢您的支持和信任

config.ini 配置

[server]
; 服务端口
serverPort=8001
; 文件上传目录
uploadDir=upload
; 每秒最大访问量
maxRequest=100
; debug开关
debug=false
; 接口加密,返回值加密
encrypt=false

[service]
; 微服务地址
address=localhost:8090

[mysql]
; 数据库地址
host=localhost
; 数据库端口
port=3306
; 数据库用户名
username=root
; 数据库用户密码
password=123456
; 数据库名称
dbname=gintemplate

[consul]
address=localhost:8500

[mail]
; 登录地址
host=smtp.163.com
; 登录账号
[email protected]
; 登录密码
password=xxx
; 邮件服务
address=smtp.163.com:25
; 发件人邮箱地址
[email protected]

; 短信服务
[alibaba]
accessKeyId=
accessKeySecret=
signName=阿里云短信测试
templateCode=SMS_154950909

付费技术支持

联系:VX I-AM-Lihw

捐赠

gin-template's People

Stargazers

 avatar MrLee avatar

Watchers

MrLee avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.