All Projects → lrwinx → Shop

lrwinx / Shop

Licence: apache-2.0
spring cloud最佳实践项目实例,使用了spring cloud全家桶,TCC事务管理,EDA事务最终一致性等技术的下单示例

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Shop

Sample Zuul Filters
Samples of custom Zuul 1 filters for use in Spring Cloud Netflix
Stars: ✭ 201 (-51.91%)
Mutual labels:  api-gateway, spring-boot, spring-cloud, zuul
Sample Spring Microservices Advanced
More advanced samples of spring boot and spring cloud microservices showing usage of such tools like api Swagger2 on Zuul, integraction with MongoDB, configuration server, testing with Spring Cloud Contract or Hoverfly
Stars: ✭ 112 (-73.21%)
Mutual labels:  api-gateway, spring-boot, spring-cloud, zuul
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (-22.01%)
Mutual labels:  spring-boot, spring-cloud, zuul
Springcloud Shop
基于Spring Boot、Spring Cloud的微服务商城demo
Stars: ✭ 198 (-52.63%)
Mutual labels:  spring-boot, spring-cloud, zuul
Spring Cloud Gateway
A Gateway built on Spring Framework 5.x and Spring Boot 2.x providing routing and more.
Stars: ✭ 3,305 (+690.67%)
Mutual labels:  api-gateway, spring-boot, spring-cloud
Sample Spring Microservices Kubernetes
sample spring boot application that uses some features provided by spring cloud kubernetes, spring cloud ribbon and zuul proxy deployed on Kubernetes
Stars: ✭ 123 (-70.57%)
Mutual labels:  spring-boot, spring-cloud, zuul
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (-68.9%)
Mutual labels:  spring-boot, spring-cloud, zuul
Microservices Platform
基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。
Stars: ✭ 3,274 (+683.25%)
Mutual labels:  spring-boot, spring-cloud, zuul
Okta Blog Archive
Okta Developer Blog
Stars: ✭ 74 (-82.3%)
Mutual labels:  spring-boot, spring-cloud, maven
Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (-11.96%)
Mutual labels:  spring-boot, spring-cloud, zuul
Spring Cloud Rest Tcc
以Spring Cloud Netflix作为服务治理基础, 展示基于tcc思想所实现的分布式事务解决方案
Stars: ✭ 2,562 (+512.92%)
Mutual labels:  tcc, spring-boot, spring-cloud
Spring Thrift Api Gateway
Gateway for Apache Thrift requests processing that is built on Spring Cloud stack
Stars: ✭ 38 (-90.91%)
Mutual labels:  api-gateway, spring-boot, spring-cloud
Spring Cloud Build
Common build concerns, shared plugin configuration, etc. for Spring Cloud modules
Stars: ✭ 114 (-72.73%)
Mutual labels:  spring-boot, spring-cloud, maven
Sample Spring Oauth2 Microservices
some examples that show basic and more advanced implementations of oauth2 authorization mechanism in spring-cloud microservices environment
Stars: ✭ 109 (-73.92%)
Mutual labels:  spring-boot, spring-cloud, zuul
Javadevjournal
Source code for the tutorials published on the Javadevjournal site.
Stars: ✭ 141 (-66.27%)
Mutual labels:  spring-boot, spring-cloud, maven
Spring Cloud Microservices Development
Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
Stars: ✭ 106 (-74.64%)
Mutual labels:  spring-boot, spring-cloud, zuul
Microservice Scaffold
基于Spring Cloud(Greenwich.SR2)搭建的微服务脚手架(适用于在线系统),已集成注册中心(Nacos Config)、配置中心(Nacos Discovery)、认证授权(Oauth 2 + JWT)、日志处理(ELK + Kafka)、限流熔断(AliBaba Sentinel)、应用指标监控(Prometheus + Grafana)、调用链监控(Pinpoint)、以及Spring Boot Admin。
Stars: ✭ 211 (-49.52%)
Mutual labels:  spring-boot, spring-cloud, zuul
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (-89.23%)
Mutual labels:  spring-boot, spring-cloud, zuul
Bookstoreapp Distributed Application
Ecommerce project is being developed using Spring Boot Microservices and Spring Cloud (Backend) and React (Frontend). Splitting the Ecommerce functionality into various individual microservices so that they can be distributed, scale really well and make use of resources efficiently.
Stars: ✭ 63 (-84.93%)
Mutual labels:  spring-boot, spring-cloud, zuul
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+3779.9%)
Mutual labels:  spring-boot, spring-cloud, zuul

项目简介

  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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].