• Stars
    star
    277
  • Rank 143,452 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The mall/eshop system based on go-zero.

zero mall

  • 基于 go + go-zero + gRPC, 以微服务方式实现的B2B2C通用电商平台.
  • 目标:
    • 综合社区最佳实践, 力求产品级项目, 而不是 demo 玩具.
    • 通用业务单元: 可以自由组合使用.
  • 文档: https://zeromicro.github.io/zeromall/

WIP:

  • 🚀 架构公式: biz = core + unit
    • biz: 产品构成
    • core: 基础服务, 公共服务
    • unit: 业务单元, 通用业务单元

产品:

产品(app/biz) 说明
💖 app/biz/mall B2B2C 电商平台
💖 app/biz/eshop 虚拟商品售卖商城

核心服务:

核心服务(app/core) 服务
app/core/user/authn 用户服务: 注册/登录
app/core/user/authz 用户服务: 访问权限控制
app/core/queue 基础队列服务

服务矩阵:

业务单元(app/unit) 说明
☀️ app/unit/license/key 注册码服务: 售卖 app 密钥
☀️ app/unit/cart 购物车系统
☀️ app/unit/order 订单系统
☀️ app/unit/finance/payment 支付系统

Development:

  • Taskfile.yml
  • ✅ 所有微服务启动脚本, 依赖中间件启动, 都在此.

Server:

Client:

示例服务:

More Repositories

1

go-zero

A cloud-native Go microservices framework with cli tool for productivity.
Go
27,635
star
2

cds

Data syncing in golang for ClickHouse.
Go
952
star
3

zero-examples

go-zero examples
Go
822
star
4

go-queue

Kafka, Beanstalkd Pub/Sub framework.
Go
644
star
5

zero-doc

The docs for go-zero
JavaScript
528
star
6

awesome-zero

A curated list of awesome projects that powered by go-zero.
225
star
7

goctl-swagger

PHP
176
star
8

zero-contrib

A collection of extensions and tools for go-zero.
Go
162
star
9

go-zero-demo

the source code of the go-zero-doc
Go
70
star
10

goctl-go-compact

Go
32
star
11

portal

go-zero official documentation
TypeScript
25
star
12

goctl-intellij

A intellij plugin of goctl
Java
22
star
13

goctl-php

goctl php plugin
Go
21
star
14

go-zero-pages

go-zero-pages is the gitbook document of go-zero. This repository is a managed repository on github pages. Please do not try to add or update files in this repository, because this repository is hosted by https://github.com/zeromicro/go-zero-pages -Doc’s github action is automatically built, if you need to submit or update the document, please fork go-zero-doc to modify and submit pr
HTML
18
star
15

goctl-vscode

goctl extension for Visual Studio Code
TypeScript
17
star
16

ddl-parser

A tool to parse mysql ddl.
ANTLR
14
star
17

x

This repository is part of the go-zero project but outside the main tree. It's developed under looser compatibility requirements than the go-zero project.
Go
13
star
18

zero-api

zero-api is a RESTful API description language.
12
star
19

go-zero-doc

The gitbook source for go-zero document
JavaScript
12
star
20

goctl-android

goctl android plugin demo
Go
12
star
21

go-zero-template

A golang template repo for go-zero, Do not accept pr!
Smarty
6
star
22

zero-test

The repo for integration test of go-zero project.
5
star
23

protoc-gen-zrpc-gateway

5
star
24

goctl-plugins

goctl plugins for languages and platforms.
4
star
25

zero-legacy

The legacy mongo/mongoc packages from go-zero.
Go
4
star
26

antlr

forked from antlr/antlr4 and remove another useless code, in order to solve the antlr official module conflict bug
Go
4
star
27

grpc-mock

A gRPC mocking tool.
Go
4
star
28

zero-ci

go-zero continuous integration.
Go
3
star
29

goctl-restclient

Generate Visual Studio Code REST Client plugin files for zero-api
Go
3
star
30

go-zero.dev

go-zero.dev
JavaScript
1
star
31

goctl-vue-element-admin

生成vue-element-admin,api/views文件
1
star