https://github.com/ychengcloud/cre
根据数据库表结构生成代码 Code generator via database ( crud, grpc, restful, openapi...)
https://github.com/ychengcloud/cre
cre crud generator golang grpc mysql openapi postgresql restful template
Last synced: about 1 month ago
JSON representation
根据数据库表结构生成代码 Code generator via database ( crud, grpc, restful, openapi...)
- Host: GitHub
- URL: https://github.com/ychengcloud/cre
- Owner: ychengcloud
- License: mit
- Created: 2022-07-14T06:26:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-04T06:08:58.000Z (over 2 years ago)
- Last Synced: 2024-11-15T22:10:15.444Z (over 1 year ago)
- Topics: cre, crud, generator, golang, grpc, mysql, openapi, postgresql, restful, template
- Language: Go
- Homepage: https://docs.ycheng.pro/cre
- Size: 272 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cre
cre 是一个代码生成框架,用于高效生成各种业务代码,主要使用场景是生成工程框架和CRUD类代码,大大缩短业务从设计到上线的时间。在框架层面保证高度的灵活和可扩展性,不限制业务场景。
## 特性
- 解析数据库表结构,生成丰富的表述信息
- 支持自定义模板,结合不同模板快速生成不同业务场景的项目
- 支持 BelongsTo 、HasOne 、HasMany 、ManyToMany 关联配置
- 支持配置校验信息
- 支持业务的灵活扩展
- 表结构更改可重复生成代码
## 文档
[中文](https://docs.ycheng.pro/cre/#/README) | [English](https://docs.ycheng.pro/cre/#/en_US/README)
## 参与
## 鸣谢
本项目的产生离不开这些优秀项目的启发, 如有遗漏欢迎补充指正
https://github.com/LyricTian/gin-admin
https://github.com/cmelgarejo/go-gql-server
https://github.com/8treenet/freedom
https://github.com/jinzhu/gorm
https://github.com/wantedly/apig
https://github.com/facebook/ent
https://github.com/altas/altas
https://github.com/libragen/felix
https://github.com/smallnest/gen
https://github.com/webliupeng/gin-tonic