# spring-cloud-alibaba-learning
**Repository Path**: toolman-rln/spring-cloud-alibaba-learning
## Basic Information
- **Project Name**: spring-cloud-alibaba-learning
- **Description**: Spring Alibaba Cloud 练习
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-03-23
- **Last Updated**: 2022-11-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 阿里巴巴微服务学习
## 项目简介
- 基于Spring Cloud 、Spring Alibaba Cloud 技术栈开发学习项目。
## 版本依赖
| 依赖 | 版本 |
| ---------------------- | ------------- |
| Spring Boot | 2.3.3.RELEASE |
| Spring Cloud | Hoxton.SR8 |
| Spring Cloud Alibaba | 2.2.3.RELEASE |
| Swagger | 3.0.0 |
| Lombok | 1.18.12 |
| druid | 1.1.22 |
| Spring Security OAuth2 | 2.2.2.RELEASE |
| Mybatis-Plus | 3.4.1 |
| | |
## 控制台
| 服务 | 版本 |
| ------- | ------ |
| Nacos | 1.4.2 |
| Setinel | 1.8.0 |
| Zipkin | 2.12.9 |
## 目录结构
```lua
alibaba-cloud-learning
│
│
├─business -- 业务模块
│ │
│ ├─oauth-parent -- 授权模块
│ │ │
│ │ ├─oauth -- 授权核心服务
│ │ │
│ │ └─oauth-feign-api -- 授权对外feign接口
│ │
│ └─portal-parent -- 用户门户模块
│ │
│ ├─portal -- 用户门户核心
│ │
│ └─portal-feign-api -- 用户门户核心对外feign接口
│
├─common -- 系统公共模块
│ │
│ ├─api -- 公共api
│ │
│ ├─auth -- 公共授权
│ │
│ ├─generator -- 代码生成
│ │
│ └─web-core -- 公共web核心
│
├─demo -- 自测demo 略
│ │
│ ├─consumer
│ │
│ └─provider
│
├─dependencies -- 公共依赖包
│
├─gateway -- 统一网关
│
├─nacos-server -- Nacos控制台
│
├─sentinel-dashboard -- Sentinel控制台
│
└─zipkin-dashboard -- Zipkin控制台
```
###
## 本地调试开发
1. 先启动`Nacos-Server`
```shell
cd nacos-server/src/nacos/bin
startup.cmd -m standalone
```
2. 启动sentiel-dashboard
```shell
cd sentiel-dashboard/src
java -Dserver.port=19080 -Dcsp.sentinel.dashboard.server=localhost:19080 -Dproject.name=setinel-dashboard -jar sentinel-dashboard-1.7.2.jar
```
3. 启动zipkin-dashboard
```shell
cd zipkin-dashboard/src
java -jar zipkin-server-2.12.9-exec.jar --STORAGE_TYPE=mysql --MYSQL_HOST=127.0.0.1 --MYSQL_TCP_PORT=3306 --MYSQL_DB=zipkin --MYSQL_USER=root --MYSQL_PASS=123456
```
4. 启动网关
5. 业务模块
## 端口号
7xxx 网关端口
8xxx 业务端口
## 其他说明
**作者**: **ToolMan.RLN**
**邮箱**: toolman.rln@gmail.com
`累吗,累就对了,舒服是留给有钱人的。加油,打工人!`