Code Monkey home page Code Monkey logo

zeromall's Introduction

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:

示例服务:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.