Skip to content

一个基于SpringBoot + MyBatis + MySQL + Redis + Vue + ElementUI 的社区文章管理系统。

Notifications You must be signed in to change notification settings

which0113/community-post-manage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

社区文章管理系统

基于SpringBoot + MyBatis + MySQL + Redis + Vue2 + ElementUI 的社区文章管理系统

项目介绍

社区文章管理系统基于SpringBoot + MyBatis + MySQL + Redis + Vue2 + ElementUI,实现了用户注册、登录、发帖、评论、关注、搜索和管理员管理文章、用户的增删改查等功能。

使用指导

克隆项目到本地

git clone [email protected]:which0113/community-post-manage.git

运行前端

切换到前端项目

cd frontend

确保 node >= 16,查看 node 版本

node -v

安装依赖

npm install

启动

npm run serve

其他

部署前端

方法一:生成 dist 文件部署

npm run build

方法二:使用 docker 容器部署

构建:

docker build -t freefish-community-frontend:v0.0.1 .

运行:

docker run -p 80:80 -d freefish-community-frontend:v0.0.1

运行后端

注意事项

  • JDK 版本为 1.8
  • MySQL 版本为 8.0+
  • Maven 版本为 3.9+
  • Redis 版本为 5.0+

其他

  • application-dev.yml 文件可修改 服务启动端口、MySQL、Redis 配置等等
  • ddl.sql 文件是 MySQL 数据库文件,可 Ctrl A 全选 + Ctrl Enter 执行 快速初始化数据库
  • 管理员默认 账号 | 密码 为:admin | 123456

部署后端

方法一:生成 jar 包部署(跳过单元测试)

mvn package -DskipTests

方法二:使用 docker 容器部署

构建:

docker build -t freefish-community-backend:v0.0.1 .

运行:

docker run -p 9001:9001 -d freefish-community-backend:v0.0.1

项目展示

管理员

帖子管理

post_m.png

用户管理

user_m.png

用户

主页

home.png

暗黑主题

dark.png

用户注册

register.png

用户登录

login.png

文章详情

post.png

文章评论

pl.png

文章发布

post_f.png

文章搜索

search.png

文章管理

all_post.png

文章编辑

update.png

技术栈

前端

  • Vue2 构建 JavaScript 的框架
  • ElementUI 美观易用的 UI 组件库

后端

  • SpringBoot
  • Spring MVC
  • MySQL 数据库
  • Redis 数据缓存
  • Spring Security(JWT 安全校验)
  • MyBatis-Plus 及 MyBatis X 代码自动生成
  • Hutool、Apache Common Utils、Gson 等工具库

About

一个基于SpringBoot + MyBatis + MySQL + Redis + Vue + ElementUI 的社区文章管理系统。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published