Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 特性.

Awesome Lists containing this project

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
* gateway

But 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