Free open source | Blog system based on SpringBoot

introduce

Based on the springboot backend architecture, websocket implements private messaging, and the frontend uses thymeleaf+bootstrap+layui+Redis

Registration uses email verification to register, and the verification code exists in redis, so a redis environment is required

Software Architecture

  • springboot
  • websocket
  • thymeleaf
  • bootstrap
  • layui
  • Redis
  • mysql 8.0

system running

1. Create a new database blog and import the database sql/blog.sql script

2.idea imports the project and downloads maven dependencies

3. Modify the database account password src/main/resource/application-dev.properties
 spring.datasource.username=root
            spring.datasource.password=
4. Configure qq mailbox information src/main/resource/application-dev.properties
[email protected]
                spring.mail.password=xxxx
5. Start redis

6. Start the idea background, src/main/jave/com.ylb.MyblogApplication.java

7. The browser opens Http://localhost:8080

Account number: wasd/1234567890

You can also register your own account

System Demonstration

1. Register

 

2. Login

 

3. Home page

 

4. Latest Blog

 

5. Blog details

 

6. Follow comments

 

7. Private message

 

8. Personal panel

 

Source code download address acquisition

Pay attention and reply to " blog " by private message to get the source code download method

Be sure to pay attention and send a message, otherwise the system will not be able to reply to the message

Thanks for open source! Invasion and deletion!

Guess you like

Origin blog.csdn.net/zzj_csdn/article/details/131614812