# forum **Repository Path**: qfp17393120407/forum ## Basic Information - **Project Name**: forum - **Description**: 论坛系统 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-29 - **Last Updated**: 2026-04-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # forum #### 介绍 一个基于微服务架构的论坛系统,支持用户认证、帖子管理、评论互动、消息通知等功能。 #### 软件架构 软件架构说明 ``` ┌─────────────────────────────────────────────────────────────┐ │ 前端 (Vue 3) │ │ Vue Router · Pinia · Axios · Vuetify · Quill Editor │ └─────────────────────────────┬───────────────────────────────┘ │ HTTP/WebSocket ┌─────────────────────────────▼───────────────────────────────┐ │ API Gateway (8080) │ │ Spring Cloud Gateway │ └─────────────────────────────┬───────────────────────────────┘ │ ┌─────────────────────┼─────────────────────┐ ▼ ▼ ▼ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ 认证服务 │ │ 用户服务 │ │ 帖子服务 │ │ (8081) │ │ (8082) │ │ (8083) │ └───────────────┘ └───────────────┘ └───────────────┘ │ │ │ └─────────────────────┼─────────────────────┘ ▼ ┌───────────────────────────────┐ │ MySQL / Redis / ES │ └───────────────────────────────┘ ``` # 后端模块 模块 | 技术栈 | 端口 | 说明 --- | ---- | ---- | ----- gateway | Spring Cloud Gateway | 8080 | API网关 auth-server | Spring Boot 2.3.5 | 8081 | JWT认证 user-service | MyBatis-Plus | 8082 | 用户管理 post-service | Redis缓存 | 8083 | 帖子管理 search-service | Elasticsearch | 8086 | 全文搜索 admin-service | Knife4j | 8087 | 后台管理 # 前端模块 技术 | 版本 | 说明 --- | ---- | ---- Vue.js | 3.5.32 | 核心框架 Vuetify | 3.7.8 | UI组件库 Pinia | 2.3.1 | 状态管理 Axios | 1.5.0 | HTTP请求 # 快速启动 ``` # 后端 mvn clean package -DskipTests java -jar forum-gateway/target/forum-gateway.jar # 前端 npm install npm run dev ``` # 打包顺序 1.common,dao。core模块依次使用install命令,然后再打包其他模块; 打包auth模块时,要先install user模块; 简单模式:直接在根目录全部install,然后全部package 访问地址 - 前端:http://localhost:3000 - API网关:http://localhost:8080 - 注册/登录 → 发布帖子 → 评论互动 # 博客说明 ## 1.[【网站搭建实操(一)环境部署】](https://blog.csdn.net/weixin_44860141/article/details/159586188?spm=1011.2124.3001.6209) ## 2.[网站搭建实操(二)后台管理(1)登录](https://blog.csdn.net/weixin_44860141/article/details/159587232?spm=1011.2124.3001.6209) ## 3.[网站搭建实操(三)后台管理-服务注册和网关](https://blog.csdn.net/weixin_44860141/article/details/159837262?spm=1011.2124.3001.6209) ## 4.[网站搭建实操(四)后台管理-forum-core](https://blog.csdn.net/weixin_44860141/article/details/159654983?spm=1011.2124.3001.6209) ## 5.[网站搭建实操(五)后台管理-帖子服务](https://blog.csdn.net/weixin_44860141/article/details/159735168?spm=1011.2124.3001.6209) ## 6.[网站搭建实操(六)后台管理-短信模块](https://blog.csdn.net/weixin_44860141/article/details/159736170?spm=1011.2124.3001.6209) ## 7.[网站搭建实操(七)后台管理-评论模块](https://blog.csdn.net/weixin_44860141/article/details/159804777?spm=1011.2124.3001.6209) ## 8.[网站搭建实操(八)后台管理-搜索服务](https://blog.csdn.net/weixin_44860141/article/details/159830190?spm=1011.2124.3001.6209) ## 9.[网站搭建实操(九)后台管理-admin服务](https://blog.csdn.net/weixin_44860141/article/details/159835858?spm=1011.2124.3001.6209) ## 10.[网站搭建实操(十)前端搭建](https://blog.csdn.net/weixin_44860141/article/details/159882735?spm=1011.2124.3001.6209)