The Wayback Machine - https://web.archive.org/web/20201219014246/https://github.com/suxiongwei/SpringCloud-Shop
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

基于Spring Boot、Spring Cloud的微服务应用

本项目内容基于Spring Boot、Spring Cloud开发。实现电商应用基础服务,包括用户服务,商品服务,订单服务,功能包括用户注册,用户鉴权,商品列表,商品详情,下单,查看订单列表,订单详情。

  • 使用Spring Boot, Spring JPA实现底层服务的CRUD
  • 单元测试,API测试
  • 符合RESTful API规范
  • 实现服务注册发现组件
  • 实现服务网关组件
  • 实现服务的高可用

服务介绍

  • api-gateway : 服务网关
  • eureka-server : 服务注册中心
  • config-server : 分布式配置中心
  • category-service : 商品服务
  • order-service : 订单服务
  • user-service : 用户服务
  • web-app : web服务

开发环境及项目框架介绍

  • IDE: Intellij IDEA
  • 缓存服务器(数据库): Redis
  • 数据库: MySQL(数据库代码dbkeda.sql)
  • 项目框架: Spring Boot + Spring Cloud

演示步骤

  • 1、开启Redis和MySQL服务

  • 2、分别启动各个微服务:EurekaServerApplication、ApiGatewayApplication、ConfigServerApplication、CategoryApplication、OrderApplication、UserApplication、WebApplication

  • 3、服务调用

学习记录

参考博客

更新日志

2019-08-05

变更

  • 重新维护项目,将配置文件拆分到单独的配置中心仓库中去
  • 去除视图组件,通过REST URL调用(推介Postman进行测试)

修复

  • 修复依赖无法加载的问题

感谢

本项目的代码及功能仍十分简陋,一些功能也是简单的实现,偏重于对微服务的理解及构建微服务的一些组件的使用。但还是收到了很多朋友的Star,十分感谢。

About

基于Spring Boot、Spring Cloud的微服务商城demo

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.