Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jzero-io/jzero
jzero 框架, 基于 go-zero 框架二次封装的企业级代码规范框架, 一键生成服务端代码, 一键生成数据库代码, 一键生成客户端 sdk 库, 完全同步 go-zero 特性.
https://github.com/jzero-io/jzero
api cloud-native cobra code-generation go go-zero grpc grpc-gateway microservice
Last synced: 3 months ago
JSON representation
jzero 框架, 基于 go-zero 框架二次封装的企业级代码规范框架, 一键生成服务端代码, 一键生成数据库代码, 一键生成客户端 sdk 库, 完全同步 go-zero 特性.
- Host: GitHub
- URL: https://github.com/jzero-io/jzero
- Owner: jzero-io
- License: mit
- Created: 2024-04-07T02:07:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-30T06:53:09.000Z (6 months ago)
- Last Synced: 2024-04-30T07:19:26.821Z (6 months ago)
- Topics: api, cloud-native, cobra, code-generation, go, go-zero, grpc, grpc-gateway, microservice
- Language: Go
- Homepage: https://jzero.jaronnie.com/
- Size: 2.67 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zero - jzero - 基于 go-zero 框架定制的企业级后端代码框架脚手架, 同时支持使用 go-zero rpc, gateway, api 特性, 支持多 proto 多 service, 多人开发友好. 并能完全同步 go-zero 新特性. [文档](https://jzero.jaronnie.com) (Libraries that use [go-zero](https://github.com/tal-tech/go-zero))
README
# jzero
[![GitHub release](https://img.shields.io/github/release/jzero-io/jzero.svg?style=flat-square)](https://github.com/jzero-io/jzero/releases/latest)
[![Build Status](https://img.shields.io/github/actions/workflow/status/jzero-io/jzero/ci.yaml?branch=main&label=jzero-ci&logo=github&style=flat-square)](https://github.com/jzero-io/jzero/actions?query=workflow%3Ajzero-ci)
[![Go Report Card](https://goreportcard.com/badge/github.com/jzero-io/jzero?style=flat-square)](https://goreportcard.com/report/github.com/jzero-io/jzero)
## Introduction
Used to create project from templates and generate Server/Client code by proto and api file based on [go-zero](https://go-zero.dev) framework.
Support development templates for different scenarios:
* api
* zrpc
* gatewayBut jzero is not limited to go-zero, it can support any framework through template feature with remote [template repo](https://github.com/jzero-io/templates).
For more details please see: https://jzero.jaronnie.com
## Install
```shell
go install github.com/jzero-io/jzero@latest
# check tools
jzero check
```## Quick start
```shell
# new project
jzero new your_project
# generate server code
cd your_project && jzero gen && go mod tidy
# generate swagger json
jzero gen swagger
# generate http sdk
jzero gen sdk
# generate zrpcclient
jzero gen zrpcclient
# run
go run main.go server
```For more examples code please see: https://github.com/jzero-io/examples
Project Practice please see: https://jzero.jaronnie.com/project
## Roadmap
please see: https://jzero.jaronnie.com/roadmap
## Stargazers over time
[![Stargazers over time](https://starchart.cc/jzero-io/jzero.svg)](https://starchart.cc/jzero-io/jzero)
## Contributors
## Contact me