Introduction
A well-designed online shopping system, including front-end, back-end, database, load balancing, database caching, etc., uses the Spring Cloud framework and is developed based on Java. The project can be deployed on the server and is constantly improving!
Preview
Function Description
User microservice
User login
User registration
User logout
Username availability check
User login status acquisition
Commodity microservices
Paging query
Single product query
New product
Commodity modification
Public resource microservices
The public resource microservice is also the Eureka module of SpringCloud
Provides commonly used JavaBean, ViewObject, tool classes
zuul gateway
SpringCloud's zuul gateway module
Automatic login function
Image microservice
Picture upload function
Generate verification code function
Clear the cache of the verification code in redis
Shopping cart microservice
Shopping cart query
Add items to shopping cart
Shopping cart delete item
Shopping cart modify items
Package structure description
- com.supermarket.*.filter对应于微服务的过滤器
- com.supermarket.*.controller对应于微服务的controller层
- com.supermarket.*.aspect对应于微服务的切面类
- com.supermarket.*.service对应于微服务的service层
- com.supermarket.*.dao对应于微服务的dao层
- com.supermarket.*.exception对应于微服务的自定义异常
- com.supermarket.*.domain对应于微服务的JavaBean
- com.supermarket.*.utils对应于微服务的工具类
- com.supermarket.*.vo对应于微服务的ViewObject
summary
Generally speaking, it is very good, but according to its version iteration instructions, EL expressions and JSP, Servlet related things are also used, but there are small partners who want to use it to practice.
Source code : github.com/GoogleLLP/SuperMarket
Tutorial : my.oschina.net/u/4346166/blog/4748918
END
Friends who like this article, please click on the picture to follow the subscription account and watch more exciting content!
Recommended reading: