# 基于Spring Boot的微服务应用
本项目内容基于Spring Boot、Spring Cloud开发。实现电商应用基础服务,包括用户服务,商品服务,订单服务,功能包括用户注册,用户鉴权,商品列表,商品详情,下单,查看订单列表,订单详情。
- 使用Spring Boot, Spring JPA实现底层服务的CRUD
- 单元测试,API测试
- 符合RESTful API规范
- 实现webservice接口查询订单
- 实现服务注册发现组件
- 实现服务网关组件
- 实现服务的高可用
## 学习记录
- [微服务框架](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/micro_service.md)
- [Spring Boot](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/spring_boot.md)
- [Redis在Window 下的安装](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/redis/redis.md)
- [Spring Session的集成](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/spring_session.md)
- [Spring Boot配置事务管理](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/transactional.md)
- [Spring Cloud:注册中心Eureka](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/eureka.md)
- [Spring Cloud:负载均衡Ribbon](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/ribbon.md)
- [Feign声明式服务调用](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/feign.md)
- [Zuul实现微服务网关](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/zuul.md)
- [Config分布式统一配置中心](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/config.md)
- [SpringData-JPA的集成](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/spring/springData-jpa.md)
- [编码规范](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/other/coding_standards.md)
- [基于ACCESS TOKEN的权限解决方案](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/other/access_token.md)
- [集成redis做缓存](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/redis/redis_cache.md)
- [修改github上仓库的项目语言](https://github.com/suxiongwei/suxiongwei.github.io/tree/master/article/other/github_language.md)
## 服务介绍
* api-gateway:服务网关
* eureka-server:服务注册中心
* config-server-git:分布式配置中心
* category-service:商品服务
* order-service:订单服务
* user-service:用户服务
* web:web服务
## 演示步骤
- 1、开启Redis和MySQL服务
- 2、分别启动:EurekaServerApplication、ApiGatewayApplication、ConfigServerGitApplication、CategoryApplication、OrderApplication、UserApplication、KedaApplication
- 3、首页界面地址:http://localhost:8080/web
- 4、登录界面地址:http://localhost:8080/web/login.html
- 5、注册界面地址:http://localhost:8080/web/register.html
## 参考博客
- [Spring Boot基础教程](http://blog.didispace.com/Spring-Boot%E5%9F%BA%E7%A1%80%E6%95%99%E7%A8%8B/)
- [Spring-Cloud基础教程](http://blog.didispace.com/Spring-Cloud%E5%9F%BA%E7%A1%80%E6%95%99%E7%A8%8B/ )
没有合适的资源?快使用搜索试试~ 我知道了~
基于SpringBoot+SpringCloud的微服务商城demo.zip
共381个文件
png:123个
jpg:113个
java:64个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 25 浏览量
2024-02-27
20:20:31
上传
评论
收藏 8.32MB ZIP 举报
温馨提示
基于SpringBoot+SpringCloud的微服务商城demo.zip 基于SpringBoot+SpringCloud的微服务商城demo.zip 基于SpringBoot+SpringCloud的微服务商城demo.zip 基于SpringBoot+SpringCloud的微服务商城demo.zip 基于SpringBoot+SpringCloud的微服务商城demo.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于SpringBoot+SpringCloud的微服务商城demo.zip (381个子文件)
amazeui.flat.css 322KB
amazeui.css 321KB
amazeui.flat.min.css 242KB
amazeui.min.css 241KB
hmstyle.css 43KB
style.css 17KB
demo.css 13KB
dlstyle.css 5KB
admin.css 5KB
optstyle.css 4KB
app.css 23B
fontawesome-webfont.eot 69KB
loading.gif 6KB
566fda5cN4b8a1675.gif 4KB
checkbox.gif 2KB
sys_item_selected.gif 70B
.gitattributes 87B
.gitignore 572B
.gitignore 249B
.gitignore 249B
.gitignore 249B
.gitignore 249B
.gitignore 249B
.gitignore 249B
.gitignore 249B
home.html 60KB
introduction.html 47KB
register.html 7KB
login.html 5KB
index.html 159B
UserController.java 4KB
UserController.java 4KB
CategoryController.java 4KB
Category.java 3KB
AccessFilter.java 3KB
RedisTokenManager.java 3KB
CookieController.java 2KB
TokenController.java 2KB
WebService.java 2KB
User.java 2KB
Order.java 2KB
HttpAspect.java 2KB
OrderCategory.java 2KB
SecurityConfig.java 2KB
OrderServiceImpl.java 1KB
User.java 1KB
UserApplicationTests.java 1KB
CategoryServiceImpl.java 1KB
HomeController.java 1KB
OrderVo.java 1KB
CategoryController.java 1KB
ExceptionHandle.java 1KB
KedaApplication.java 1KB
RedisCacheTests.java 1KB
OrderController.java 1KB
RedisSessionConfig.java 1KB
OrderController.java 993B
Result.java 949B
BaseController.java 892B
CookieConfig.java 831B
TokenManager.java 814B
CategoryRepository.java 798B
HelloController.java 797B
Error.java 788B
UserServiceImpl.java 784B
TokenModel.java 724B
UserRepository.java 703B
ConfigServerGitApplication.java 701B
ApiGatewayApplication.java 700B
OrderApplication.java 688B
Constants.java 671B
RootConfig.java 670B
OrderService.java 632B
UserService.java 626B
Authorization.java 623B
MyException.java 617B
ResultUtil.java 613B
CurrentUser.java 610B
CategoryService.java 600B
ResourceNotFoundException.java 572B
ServiceUnAvailableException.java 571B
UserApplication.java 544B
RedisSessionConfig.java 532B
UserService.java 527B
OrderCategoryRepository.java 474B
CategoryService.java 458B
OrderRepository.java 450B
EurekaServerApplication.java 423B
CategoryApplication.java 404B
EurekaServerApplicationTests.java 347B
ApiGatewayApplicationTests.java 343B
GoodsApplicationTests.java 333B
OrderApplicationTests.java 333B
OrderService.java 318B
ad3.jpg 357KB
ad2.jpg 352KB
ad4.jpg 294KB
tw3.jpg 283KB
ad8.jpg 273KB
ad1.jpg 204KB
共 381 条
- 1
- 2
- 3
- 4
资源评论
武昌库里写JAVA
- 粉丝: 3136
- 资源: 1872
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 原生微信小程序源码 - -滴滴公交-查公交
- 人工智能实验四 感知器算法的设计实现
- java小项目多线程多线程 复制文件 冒泡排序 群聊
- 四数之和(java代码).docx
- 701837906919458TapScanner v3.0.10 (Pro).apk
- 青岛大学人工智能实验二 利用α-β搜索的博弈树算法编写一字棋游戏
- ### 1、项目介绍 本项目Scrapy进行数据爬取,并使用Django框架+PyEcharts实现可视化大屏 效果如下:
- # 微信小程序-健康菜谱 基于微信小程序的一个查找检索菜谱的应用 ### 效果 !动态图(./res/gif/demo
- zabbix-get命令包资源
- 289ssm-mysql-jsp 计算机课程实验管理系统.zip(可运行源码+数据库文件+文档)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功