All Projects → pppercyWang → iris-gorm-demo

pppercyWang / iris-gorm-demo

Licence: other
iris+gorm+mysql的restful api项目起手式

Programming Languages

go
31211 projects - #10 most used programming language
TSQL
950 projects

Projects that are alternatives of or similar to iris-gorm-demo

iris-admin
Web admin for iris-go framwork
Stars: ✭ 602 (+554.35%)
Mutual labels:  gorm, iris
go-tenancy
快速实现 SaaS 多租户平台项目
Stars: ✭ 157 (+70.65%)
Mutual labels:  gorm, iris
opentracing-gorm
OpenTracing instrumentation for GORM.
Stars: ✭ 46 (-50%)
Mutual labels:  gorm
ginadmin
基于Gin开发的后台管理系统,集成了、数据库操作、日志管理、权限分配管理、多模板页面、自动分页器、数据库迁移和填充、Docker集成部署等功能、静态资源打包
Stars: ✭ 149 (+61.96%)
Mutual labels:  gorm
prometheus
Collect DB Status or user-defined metrics with Prometheus
Stars: ✭ 94 (+2.17%)
Mutual labels:  gorm
gorm-mongodb
GORM for MongoDB
Stars: ✭ 58 (-36.96%)
Mutual labels:  gorm
go-graphql-api-boilerplate
A Boilerplate of GraphQL API built in Go + graphql-go + gorm
Stars: ✭ 75 (-18.48%)
Mutual labels:  gorm
iris-simp-lang
We define a simple programming language, simp_lang, then instantiate Iris to verify simple simp_lang programs with concurrent separation logic.
Stars: ✭ 40 (-56.52%)
Mutual labels:  iris
web-marisa
🍄 白丝魔理沙网页版
Stars: ✭ 65 (-29.35%)
Mutual labels:  iris
simple-wallet
This is a simple wallet REST api that is capable of acount deposits and withdrawals, checking for account balance and providing a ministatement. It follows domain driven design practices. The project uses the DDD architecture approach.
Stars: ✭ 32 (-65.22%)
Mutual labels:  gorm
Machine-Learning-Notebooks
15+ Machine/Deep Learning Projects in Ipython Notebooks
Stars: ✭ 66 (-28.26%)
Mutual labels:  iris
gorm-paginator
gorm pagination extension
Stars: ✭ 154 (+67.39%)
Mutual labels:  gorm
simple-mpesa
A simple example of how MPESA works. Works with all 3 types of customers i.e. Agents, Merchants and Subscribers. Allows you to configure a tariff and apply it to transactions. The project follows DDD principles.
Stars: ✭ 31 (-66.3%)
Mutual labels:  gorm
swagger
Iris middleware to automatically generate RESTful API documentation with Swagger 2.0
Stars: ✭ 90 (-2.17%)
Mutual labels:  iris
go-pangu
rest api web server based on go(High availability, high security, high performance)
Stars: ✭ 45 (-51.09%)
Mutual labels:  gorm
mysql
GORM mysql driver
Stars: ✭ 126 (+36.96%)
Mutual labels:  gorm
iris
Repositório oficial da BOT Íris, uma robô em português, inglês e espanhol para WhatsApp [Com MD/Sem MD], possui centenas de comandos diferentes, a lista vai de fazer stickers a jogar xadrez ou blackjack.
Stars: ✭ 166 (+80.43%)
Mutual labels:  iris
grom
A powerful command line tool for converting mysql table fields to golang model structure.
Stars: ✭ 44 (-52.17%)
Mutual labels:  gorm
daany
Daany - .NET DAta ANalYtics .NET library with the implementation of DataFrame, Time series decompositions and Linear Algebra routines BLASS and LAPACK.
Stars: ✭ 49 (-46.74%)
Mutual labels:  iris
gorm-neo4j
GORM for Neo4j
Stars: ✭ 16 (-82.61%)
Mutual labels:  gorm

iris-gorm-demo

与lib-ui对应的服务端代码,使用iris+gorm+mysql搭建的一个restful项目模板

12.26更新

  1. 优化代码结构
  2. jwt实现
  3. json传参
  4. md5处理
conf  配置文件
controllers  控制器 入参处理 api的入口
datasource 数据库配置 
models  结构体
db  sql数据文件 postman接口文件
repo 数据库的操作
middleware 中间件 jwt实现
route  注册路由
service 业务逻辑代码
utils  工具类
config.json 配置文件的映射
main.go 主程序入口

启动项目

1.安装依赖 go get
2.go run main.go
  1. 使用go get直接下载依赖,或在github手动下载包放到gopath/src/github.com/
  2. 导包时使用相对路径需要将项目放在你配置的GOPATH目录下
  3. 这里我没有使用go module来管理依赖,是因为下载包很容易被墙。你可以使用go mod init用go mod来管理

前端

https://github.com/pppercyWang/lib-ui

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