Git Product home page Git Product logo

seckill_backend's Introduction

README

这是一个微服务-电商秒杀项目。

本项目是由4个服务组成:

web,负责鉴权、数据转换、分流

user_srv,负责用户和管理员的注册与登陆

product_srv,负责商品和秒杀活动的增删改查

seckill_srv,负责用户订单的处理

详细见开发文档-模块与关系

如何运行

确保已经安装并正确配置consul,redis,rabbitmq,mysql与相关依赖

运行consul集群

consul agent -dev

运行各个服务

go run main.go

各个服务会根据自己的配置文件注册节点、连接数据库,创建消息队列等。

前端界面

前端界面需自行设计,此处仅为演示

image-20220405235723100

image-20220405235744203

image-20220406001425741

image-20220405235814437

image-20220405235849929

image-20220405235907180

seckill_backend's People

Contributors

yuyoung32 avatar

Stargazers

 avatar

Watchers

 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.