Giter Club home page Giter Club logo

spring-blog's Introduction

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

spring-blog's People

Contributors

laowenruo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.