在线购物商城 基于 SpringBoot,Spring Cloud 开发,微服务架构,目前还在开发中.
前端使用了typescript react 作为主要开发语言和框架
online shopping website,developed with SpringBoot in microservice architecture. Typescript and React are mainly used to develop frentend
模块(服务) | 作用 |
---|---|
scheme.sql | 数据表结构 |
user-service | 用户服务 |
product-service | 商品服务 |
api-gateway | api gateway |
admin-client | 后台管理界面 |
common | 所有模块都会引用,包含了很多公用工具 |
test-utility | 所有模块都会引用,封装了一些test工具 |
admin 前端代码结构(/admin-client/src/main/resources/webapp/admin/src/) [front admin page code struture]:
目前可以展示的部分页面(part of demonstrable pages):
module | functionality | detail |
---|---|---|
scheme.sql | table's meta data | can be imported into database, generate tables |
user-service | user service | user login, user info acquire, jwt token generation |
product-service | product service | the CRUD of products,categories,products' specifcations, attributes |
api-gateway | api gateway | all api calls will go through this services in which it will collect all sorts of info |
instead of using ribbon
, zuul
, hystrix
, resilience4j
spring load balancer
and spring cloud gateway
are applied in this project since it's the latest recommendation from spring.io