This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push:
new eefb349bd add shop doc and images (#1178)
eefb349bd is described below
commit eefb349bdd83510552cb37e94e2fa73ea1f0338e
Author: heliang666s <[email protected]>
AuthorDate: Tue Aug 27 14:13:31 2024 +0800
add shop doc and images (#1178)
---
.../doc/img/architecture-diagram.png | Bin 0 -> 357188 bytes
.../doc/img/jaeger-dependencies.png | Bin 0 -> 291131 bytes
online_bontique_demo/doc/img/memorystore.png | Bin 0 -> 170870 bytes
.../doc/img/online-boutique-frontend-1.png | Bin 0 -> 4721773 bytes
.../doc/img/online-boutique-frontend-2.png | Bin 0 -> 679496 bytes
online_bontique_demo/doc/local-startup.md | 64 +++++++++++++++++++++
online_bontique_demo/doc/local-startup.zh.md | 64 +++++++++++++++++++++
7 files changed, 128 insertions(+)
diff --git a/online_bontique_demo/doc/img/architecture-diagram.png
b/online_bontique_demo/doc/img/architecture-diagram.png
new file mode 100644
index 000000000..af64f52f5
Binary files /dev/null and
b/online_bontique_demo/doc/img/architecture-diagram.png differ
diff --git a/online_bontique_demo/doc/img/jaeger-dependencies.png
b/online_bontique_demo/doc/img/jaeger-dependencies.png
new file mode 100644
index 000000000..b96a1a132
Binary files /dev/null and
b/online_bontique_demo/doc/img/jaeger-dependencies.png differ
diff --git a/online_bontique_demo/doc/img/memorystore.png
b/online_bontique_demo/doc/img/memorystore.png
new file mode 100644
index 000000000..470bdc6bf
Binary files /dev/null and b/online_bontique_demo/doc/img/memorystore.png differ
diff --git a/online_bontique_demo/doc/img/online-boutique-frontend-1.png
b/online_bontique_demo/doc/img/online-boutique-frontend-1.png
new file mode 100644
index 000000000..b63776a08
Binary files /dev/null and
b/online_bontique_demo/doc/img/online-boutique-frontend-1.png differ
diff --git a/online_bontique_demo/doc/img/online-boutique-frontend-2.png
b/online_bontique_demo/doc/img/online-boutique-frontend-2.png
new file mode 100644
index 000000000..b0121663e
Binary files /dev/null and
b/online_bontique_demo/doc/img/online-boutique-frontend-2.png differ
diff --git a/online_bontique_demo/doc/local-startup.md
b/online_bontique_demo/doc/local-startup.md
new file mode 100644
index 000000000..42ef5e1a0
--- /dev/null
+++ b/online_bontique_demo/doc/local-startup.md
@@ -0,0 +1,64 @@
+# Project Startup Document
+
+## Project Name
+
+**Dubbo Microservices Mall**
+
+## Project Background
+
+This project aims to build a microservices mall system based on Java and
Dubbo. By adopting a modular design, different business functions are divided
into independent services, enhancing the maintainability and scalability of the
system. The system includes core business modules such as advertisements,
shopping cart, currency conversion, email notifications, payments, product
catalogs, recommendations, logistics, and checkout.
+
+## Project Goals
+
+The goals of this project are:
+
+1. Build a fully functional and scalable microservices mall system.
+2. Ensure efficient communication between service modules through Dubbo,
guaranteeing system stability and high availability.
+3. Provide a user-friendly interface, allowing users to access the frontend
page via a web browser and perform shopping operations.
+4. Support multiple currency conversions and online payment functions.
+
+## Service Module Overview
+
+1. **adService**: Advertisement service, responsible for managing and
displaying advertisement content.
+2. **cartService**: Shopping cart service, responsible for handling user
shopping cart operations, such as adding and removing items.
+3. **currencyService**: Currency service, responsible for providing conversion
functions between multiple currencies.
+4. **emailService**: Email service, responsible for sending order
confirmations, promotional information, and other email notifications.
+5. **paymentService**: Payment service, responsible for processing user online
payment operations.
+6. **productCatalogsService**: Product catalog service, responsible for
managing product classifications and information display.
+7. **recommendationService**: Recommendation service, providing product
recommendations based on user behavior.
+8. **shippingService**: Logistics service, handling order logistics
information and delivery services.
+9. **checkoutService**: Checkout service, summarizing the contents of the
shopping cart, generating orders, and handling the checkout process.
+10. **fronted**: Frontend service, providing the user interface for browsing
and shopping.
+
+## Service Startup Order
+
+To ensure the correct startup of the system, the services should be started in
the following order:
+
+1. Start `adService`
+2. Start `cartService`
+3. Start `currencyService`
+4. Start `emailService`
+5. Start `paymentService`
+6. Start `productCatalogsService`
+7. Start `recommendationService`
+8. Start `shippingService`
+9. Start `checkoutService` last
+10. Start `fronted` last
+
+**Note: `checkoutService` and `fronted` must be started last.**
+
+## Accessing the Frontend Page
+
+After all services are started, the mall's frontend page can be accessed at:
http://localhost:9000/static
+
+## Project Configuration
+
+### Environment Requirements
+
+- JDK 17+
+- Apache Dubbo 3.0+
+- Spring Boot 3.0+
+
+### Configuration Files
+
+Each service’s configuration file is located in
`src/main/resources/application.yml`. Please adjust the configuration
information according to your environment.
diff --git a/online_bontique_demo/doc/local-startup.zh.md
b/online_bontique_demo/doc/local-startup.zh.md
new file mode 100644
index 000000000..e3d517e63
--- /dev/null
+++ b/online_bontique_demo/doc/local-startup.zh.md
@@ -0,0 +1,64 @@
+# 项目启动文档
+
+## 项目名称
+
+**Dubbo微服务商城**
+
+## 项目背景
+
+该项目旨在构建一个基于Java和Dubbo的微服务商城系统。通过模块化设计,将不同的业务功能拆分为独立的服务,提升系统的可维护性和扩展性。系统包含广告、购物车、货币转换、邮件通知、支付、产品目录、推荐、物流和结账等核心业务模块。
+
+## 项目目标
+
+项目的目标是:
+
+1. 构建一个功能完备且可扩展的微服务商城系统。
+2. 各服务模块之间通过Dubbo进行高效通信,保证系统的稳定性和高可用性。
+3. 提供友好的用户界面,用户可以通过浏览器访问前端页面并进行购物操作。
+4. 支持多种货币的转换和在线支付功能。
+
+## 服务模块概述
+
+1. **adService**: 广告服务,负责管理和展示广告内容。
+2. **cartService**: 购物车服务,负责处理用户的购物车操作,如添加、删除商品等。
+3. **currencyService**: 货币服务,负责提供多种货币之间的转换功能。
+4. **emailService**: 邮件服务,负责发送订单确认、优惠信息等邮件通知。
+5. **paymentService**: 支付服务,处理用户的在线支付操作。
+6. **productCatalogsService**: 产品目录服务,管理商品的分类、信息展示等功能。
+7. **recommendationService**: 推荐服务,根据用户行为推荐相关商品。
+8. **shippingService**: 物流服务,处理订单的物流信息和配送服务。
+9. **checkoutService**: 结账服务,汇总购物车内容,生成订单并处理结账流程。
+10. **fronted**: 前端服务,提供用户界面,供用户浏览和操作。
+
+## 服务启动顺序
+
+为了确保系统的正确启动,各个服务的启动顺序如下:
+
+1. 启动 `adService`
+2. 启动 `cartService`
+3. 启动 `currencyService`
+4. 启动 `emailService`
+5. 启动 `paymentService`
+6. 启动 `productCatalogsService`
+7. 启动 `recommendationService`
+8. 启动 `shippingService`
+9. 最后启动 `checkoutService`
+10. 最后启动 `fronted`
+
+**注意:`checkoutService` 和 `fronted` 必须最后启动。**
+
+## 访问前端页面
+
+所有服务启动完成后,可以通过以下地址访问商城的前端页面: http://localhost:9000/static
+
+## 项目配置
+
+### 环境要求
+
+- JDK 17+
+- Apache Dubbo 3.0+
+- SpringBoot 3.0+
+
+### 配置文件
+
+每个服务的配置文件均位于 `src/main/resources/application.yml`,请根据实际环境调整配置信息。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]