{"id":14973643,"url":"https://github.com/which0113/community-post-manage","last_synced_at":"2025-10-27T02:31:19.768Z","repository":{"id":240066316,"uuid":"801566319","full_name":"which0113/community-post-manage","owner":"which0113","description":"一个基于 SpringBoot + MyBatis + MySQL + Redis + Vue + ElementUI 的社区文章管理系统。","archived":false,"fork":false,"pushed_at":"2025-02-09T14:34:16.000Z","size":3648,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T15:31:55.021Z","etag":null,"topics":["element-ui","mybatis","mybatis-plus","mysql","redis","spring-boot","vue2"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/which0113.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-16T13:32:42.000Z","updated_at":"2025-02-09T14:34:19.000Z","dependencies_parsed_at":"2024-05-19T15:30:00.084Z","dependency_job_id":"77d323e4-8712-4b0c-b036-922f090be710","html_url":"https://github.com/which0113/community-post-manage","commit_stats":null,"previous_names":["which0113/community-post-manage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/which0113%2Fcommunity-post-manage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/which0113%2Fcommunity-post-manage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/which0113%2Fcommunity-post-manage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/which0113%2Fcommunity-post-manage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/which0113","download_url":"https://codeload.github.com/which0113/community-post-manage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238422900,"owners_count":19469652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["element-ui","mybatis","mybatis-plus","mysql","redis","spring-boot","vue2"],"created_at":"2024-09-24T13:49:08.885Z","updated_at":"2025-10-27T02:31:14.209Z","avatar_url":"https://github.com/which0113.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=doc/logo.png width=188/\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e社区文章管理系统\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003e基于 SpringBoot + MyBatis + MySQL + Redis + Vue2 + ElementUI 的社区文章管理系统\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://github.com/which0113/api-backend\"\u003e\n    \u003cimg alt=\"\" src=\"https://github.com/which0113/api-backend/badge/star.svg?theme=gvp\"/\u003e\n\u003c/a\u003e\n    \u003cimg alt=\"Maven\" src=\"https://raster.shields.io/badge/Maven-3.8.1-red.svg\"/\u003e\n\u003ca target=\"_blank\" href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\"\u003e\n        \u003cimg alt=\"\" src=\"https://img.shields.io/badge/JDK-1.8+-green.svg\"/\u003e\n\u003c/a\u003e\n    \u003cimg alt=\"SpringBoot\" src=\"https://raster.shields.io/badge/SpringBoot-2.3+-green.svg\"/\u003e\n\u003c/div\u003e\n\n## 项目介绍\n\n社区文章管理系统基于SpringBoot + MyBatis + MySQL + Redis + Vue2 + ElementUI，实现了用户注册、登录、发帖、评论、关注、搜索和管理员管理文章、用户的增删改查等功能。\n\n## 使用指导\n\n### 克隆项目到本地\n\n```bash\ngit clone git@github.com:which0113/community-post-manage.git\n```\n\n### 运行前端\n\n#### 切换到前端项目\n\n```bash\ncd frontend\n```\n\n确保 node \u003e= 16，查看 node 版本\n\n```bash\nnode -v\n```\n\n#### 安装依赖\n\n```bash\nnpm install\n```\n\n#### 启动\n\n```bash\nnpm run serve\n```\n\n#### 其他\n\n- [vue.config.js](frontend%2Fvue.config.js) 文件可修改前端启动地址， 默认：http://localhost:3001\n- [.env](frontend%2F.env) 文件可修改对接后端服务器接口的地址，默认：http://localhost:9001\n\n#### 部署前端\n\n方法一：生成 dist 文件部署\n\n```bash\nnpm run build\n```\n\n方法二：使用 docker 容器部署\n\n构建：\n\n```bash\ndocker build -t freefish-community-frontend:v0.0.1 .\n```\n\n运行：\n\n```bash\ndocker run -p 80:80 -d freefish-community-frontend:v0.0.1\n```\n\n### 运行后端\n\n#### 注意事项\n\n- JDK 版本为 1.8\n- MySQL 版本为 8.0+\n- Maven 版本为 3.9+\n- Redis 版本为 5.0+\n\n#### 其他\n\n- [application-dev.yml](backend%2Fsrc%2Fmain%2Fresources%2Fapplication-dev.yml) 文件可修改 **服务启动端口、MySQL、Redis 配置等等**\n- [ddl.sql](backend%2Fsql%2Fddl.sql) 文件是 MySQL 数据库文件，可  **Ctrl A 全选 + Ctrl Enter 执行** 快速初始化数据库\n- 管理员默认 **账号 | 密码** 为：**admin | 123456**\n\n#### 部署后端\n\n方法一：生成 jar 包部署（跳过单元测试）\n\n```\nmvn package -DskipTests\n```\n\n方法二：使用 docker 容器部署\n\n构建：\n\n```bash\ndocker build -t freefish-community-backend:v0.0.1 .\n```\n\n运行：\n\n```bash\ndocker run -p 9001:9001 -d freefish-community-backend:v0.0.1\n```\n\n## 项目展示\n\n### 管理员\n\n#### 帖子管理\n\n![post_m.png](doc%2Fpost_m.png)\n\n#### 用户管理\n\n![user_m.png](doc%2Fuser_m.png)\n\n### 用户\n\n#### 主页\n\n![home.png](doc%2Fhome.png)\n\n#### 暗黑主题\n\n![dark.png](doc%2Fdark.png)\n\n#### 用户注册\n\n![register.png](doc%2Fregister.png)\n\n#### 用户登录\n\n![login.png](doc%2Flogin.png)\n\n#### 文章详情\n\n![post.png](doc%2Fpost.png)\n\n#### 文章评论\n\n![pl.png](doc%2Fpl.png)\n\n#### 文章发布\n\n![post_f.png](doc%2Fpost_f.png)\n\n#### 文章搜索\n\n![search.png](doc%2Fsearch.png)\n\n#### 文章管理\n\n![all_post.png](doc%2Fall_post.png)\n\n#### 文章编辑\n\n![update.png](doc%2Fupdate.png)\n\n## 技术栈\n\n### 前端\n\n- Vue2 构建 JavaScript 的框架\n- ElementUI 美观易用的 UI 组件库\n\n### 后端\n\n- SpringBoot\n- Spring MVC\n- MySQL 数据库\n- Redis 数据缓存\n- Spring Security（JWT 安全校验）\n- MyBatis-Plus 及 MyBatis X 代码自动生成\n- Hutool、Apache Common Utils、Gson 等工具库\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhich0113%2Fcommunity-post-manage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhich0113%2Fcommunity-post-manage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhich0113%2Fcommunity-post-manage/lists"}