Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

shezerommd/Spring-Blog

Repository files navigation

AUR stars contributors help-wanted issues PRs Welcome

SpringBoot-Blog

🤷‍♂️框架:Springboot

🤷‍♂️数据库持久层:Mybatis

🤷‍♂️文章评论插件:Valine

🤷‍♂️分页插件:PageHelper

🤷‍♂️数据库连接池:hikari

🤷‍♂️数据库:MySQL

🤷‍♂️日志:Log4J

🤷‍♂️后台配置: properties

🤷‍♂️缓存实现: Redis

初始账号密码:admin 123456


🙈求大佬们给公众号点个关注,不定期分享后端、Java及中间件等技术、面试干货🙈

image-20220205231316796


运行截图

前台

借鉴了其他人的前端进行开发。

image-20220205225152899

image-20220205225212091

image-20220205225238343

image-20220205225941124

后台

image-20220205230014300

image-20220205230241937

image-20220205230311762

image-20220205230346784

image-20220205230415709

docker方式

配置完 MySQL 、Redis 等后即可打包镜像运行,具体调优参数可自行修改

docker build -t spring-blog:1.0.0 .
docker run -d -p 8080:8080 -v /logs:/logs --name spring-blog spring-blog:1.0.0

Nginx

按照nginx.conf配置即可 同时也推荐大家了解下 https://github.com/avwo/whistle 这个反向代理,挺好用的

更新日志

✅修复了前后端所存在的诸多bug,且更换后端管理界面UI

✅将数据库字段进行重构,采用BIT表示状态位,精简其他数据库字段

✅仅用Redis缓存博文和浏览量,设置定时任务刷新浏览量到数据库

✅用properties实现网站常规设置,用反射来进行更新配置文件

✅精简了无需的js、css和其他前后端代码

✅添加webhook告警、更改日志级别、规范pojo、添加首页缓存、添加Dockerfile、Nginx配置文件(2022年02月22日)

Sponsor

Thanks to JetBrains for the support

image

About

😎基于SpringBoot+MyBatis进行前后端开发的个人博客网站,优化了许多功能模块,版本不断维护中。(期末项目/毕业设计/新手推荐)

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Java 99.9%
  • Dockerfile 0.1%

AltStyle によって変換されたページ (->オリジナル) /