Code Monkey home page Code Monkey logo

mall-go's Introduction

mall-go

中文

Always wanted to complete a fully functional open source project

Decided to develop a full-featured open source project in Go

Use of technology

  • gin、hertz
  • grpc、kitex
  • redis
  • mysql
  • mongodb
  • asynq | go-queue
  • amqp
  • elasticsearch | gofound | zinc
  • prometheus
  • grafana
  • jaeger
  • dtm
  • apisix
  • wechat/alipay
  • zap
  • viper
  • docker/docker-compose/kubernetes

Service Functions

  • members
    • TODO recharge
  • balance
  • multi-merchant
    • TODO withdraw
  • community⌛
  • installments
  • crowdfunding
  • spike
  • group buy
  • lottery
  • delivery
  • fresh
  • coupon
  • second-hand transaction ? trade old things
  • IM
  • live streaming
  • reward

Project Description

The project builds scaffolding based on mixgo, which can realize flexible assembly of components. It is currently the client API interface, and admin related codes will not be implemented for the time being.

Catalog introduction

  • app: Business code Include api grpc mq job
  • common: common components error、middleware、interceptor、tool、ctxdata
  • data: runtime data
  • deployments: Deploy related configuration files
  • docs: Project Series Documentation
  • pkg: internal package

Gateway

The front is slb followed by apisix

Development mode

Use the microservice development pattern. api(http) --- rpc(grpc)

rpc provides basic service implementation.

api implements service aggregation business processing.

Log

  • logstash
  • filebeat

Monitor

  • prometheus

Track

  • jaeger

pub/sub

  • kafka
  • mq

Message queue、Delay queue、Timed task

  • message queue
    • asynq
    • amqp
  • delay queue
    • asnyq
    • amqp
  • timed task
    • cron

Distributed transaction

  • dtm

Deployment

develop use docker/docker-compose

deployment use kubernetes

TODO

  1. Add grpc checksum
  2. permission check
  3. grpc error handling

License

Apache License Version 2.0, http://www.apache.org/licenses/

mall-go's People

Contributors

cexll avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.