Giter VIP home page Giter VIP logo

shop's Introduction

项目简介

  1. 此商城项目,使用spring cloud 全家桶进行开发

  2. 事务处理使用两种:强一致性(TCC),最终一致性(EDA)

使用技术

  1. java 8 : 使用lambda表达式,简化写法

  2. lombok : 简化java bean的写法

  3. docker-maven-plugin : 直接生成Dockerfile (本地需更换成阿里云镜像,速度和成功率会提升很多)

  4. H2 : 内存式数据库,减少DB依赖 (正式环境时,可以直接切换至MYSQL)

  5. spring cloud eureka : 用于服务注册发现

  6. spring data jpa : 数据库底层连接技术

  7. spring mvc : 访问控制层技术

  8. spring cloud robbin : 使用客户端负载均衡,进行服务提供者的调用

  9. spring cloud feign : 分装了ribbon的使用,直接使用注解的方式,进行调用

  10. spring boot actuate : spring boot项目的健康检查,此项目整合了应用服务的健康状态

  11. spring security : 权限管理

  12. spring cloud zuul : 网关服务,用来聚合和管理底层微服务接口

  13. spring cloud config : 集中配置管理,整合各个微服务下的不同配置文件

  14. spring cloud zipkin : 微服务调用监控系统,可以监听整个调用连

  15. ByteTCC:TCC事务实现框架 点击进入TCC的github地址

技术文档

H2的web客户端查看方式

项目分级

业务分级

此项目分为四个核心模块:

  1. 用户模块(user-service):

  2. 积分模块(score-service):

  3. 产品模块(product-service):

  4. 订单模块(order-service):

核心模块分层:

{模块名}-service-api: 微服务的模块api定义

{模块名}-service-core: 微服务的模块业务逻辑实现

关于我

  1. author : Lrwin
  2. blog : http://lrwinx.github.io/
  3. email : [email protected]
  4. github : https://github.com/lrwinx
  5. city : TianJin

shop's People

Contributors

lrwinx avatar

Watchers

 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.