Public account: MarkerHub (pay attention to get more project resources)
Eblog codebase: github.com/markerhub/e…
Eblog project video: www.bilibili.com/video/BV1ri…
Development Document Catalog:
(Eblog) 1. Set up the project architecture and initialized the home page
(EBLOG) 2. Integrate Redis and project elegant exception handling and return result encapsulation
(eblog) 3, using Redis zset ordered set to achieve a hot feature of the week
(EBLOG) 4, customize Freemaker label to achieve blog homepage data filling
(Eblog) 5, blog classification filling, login registration logic
(EBLOG) 6. Set up blog publishing collection and user center
(eblog) 7, message asynchronous notification, details adjustment
8. Blog search engine development and background selection
(Eblog) 9. Instant group chat development, chat history, etc
Front and back end separation project vueblog please click here: super detailed! 4 hours to develop a SpringBoot+ Vue front and back separated blog project!!
The basic information
Project name: eblog
Abstract: Eblog is a blog learning project based on The development of Springboot2.1.2. In order to integrate more knowledge points into the project and achieve the purpose of learning, I wrote a detailed development document from 0 to 1. Main studies include: Custom Freemarker tag, shiro+ Redis for session sharing, Redis for Zset for this week’s trending list, T-IO + WebSocket for INSTANT messaging and group chat, Rabbitmq + ElasticSearch complete blog content search engine, etc. There’s so much to learn!
Project Description:
This blog is a project built in the process of learning. In order to integrate more knowledge points and make the blog look more lofty, it uses a number of framework combinations, some of which are common solutions in enterprise-level projects. Not to be honest, there are a lot of things missing, such as XSS attack prevention and other security aspects.
Code structure:
│ ├─ ├─ Java │ ├─ └ com │ ├─ CodeGenerator# Code generation│ │ ├─common │ │ ├─exception# global exception handling│ │ ├─lang │ │ ├─ templates# Custom Freemarker tag encapsulation│ │ ├─config, │ │ ├─config# Integrated configuration│ │ │ ├ ─ controller │ │ │ ├ ─ the entity │ │ │ │ │ │ │ ├ ─ im# Instant group chat│ │ │ │ ├ ─ handler │ │ │ │ ├ ─ message │ │ │ │ ├ ─ server │ │ │ │ └ ─ vo │ │ │ │ │ │ │ ├ ─ mapper │ │ │ ├ ─ schedules# Scheduled task│ │ │ ├─search# Content search engine with sync│ │ │ │ ├ ─ model │ │ │ │ ├ ─ mq │ │ │ │ └ ─ repository │ │ │ │ │ │ │ ├ ─ service │ │ │ │ └ ─ impl │ │ │ │ │ │ │ ├ ─ shiro# shiro integration│ │ │ ├ ─ the template# define tag│ │ │ ├ ─ util │ │ │ └ ─ vo │ │ │ │ │ └ ─ resources │ │ │ application. Yml │ │ ├ ─ mapper │ │ ├ ─ static │ │ │ └ ─ res │ │ └ ─ templates# page template
Copy the code
Technical selection:
-
Core framework: Springboot 2.1.2
-
Security framework: Apache Shiro 1.4
-
Persistence layer framework: Mybatis + Mybatis Plus 3.2.0
-
Page template: Freemarker
-
Cache framework: Redis
-
Database: mysql
-
Message queue: RabbitMq
-
Distributed Search: Elasticsearch 6.4.3
-
Duplex communication protocol: WebSocket
-
Network communication framework: T-IO 3.2.5
-
Tool Set: HuTool
Knowledge points:
-
Fast code generation based on MyBatis Plus
-
Encapsulate with custom Freemarker tags
-
Session sharing is done using Shiro + Redis
-
Redis’ Zset structure completes this week’s hot list
-
T-io + WebSocket complete instant message notification and group chat
-
Rabbitmq + ElasticSearch content synchronization and search engine
Project deployment:
We used several middleware in the project, mysql, RabbitMQ, elasticSearch. So you have to install it in advance. Do not understand the installation can continue to pay attention to my public number [MarkerHub], I will continue to supplement the complete.
How to communicate and feedback?
-
Git repository: github.com/markerhub/e…
-
If you need to pay attention to the latest developments of the project, please refer to the Watch and Star projects, which are also the best support for the project
Project screenshots:
The last
Well, after introducing the basic information, we will send out the complete construction project process one after another, remember the star standard public number ha, the first time to receive learning! Don’t forget to give my project a STAR! Thank you so much!
Code repository: github.com/markerhub/e…
Video of the project: www.bilibili.com/video/BV1ri…
(after)
MarkerHub Article Index:
Github.com/MarkerHub/J…