How imyanger/yblog works
Project type and purpose
• This is a full-stack personal blog system (“yblog”) with:
• A Vue.js + Element UI front-end SPA (yanger-app) providing both a public blog portal and an admin console.
• A Spring Boot + MyBatis back-end (yanger) exposing RESTful APIs for articles, users, settings, file upload (UEditor), etc.
• A MySQL database for persistence and Redis for caching.
File structure
a. Frontend (yanger-app/)
– build/ & config/: Webpack and Babel config
– src/:
• App.vue, main.js
• components/ (common widgets, blog & admin UI elements)
• pages/ (blog pages & admin pages)
• router/, store/ (Vue-Router & Vuex)
– static/ueditor/: embedded rich-text editor assets
b. Backend (yanger/)
– pom.xml: Maven dependencies (Spring Boot, MyBatis, Redis, Shiro, Swagger, Lombok)
– src/main/java/com/yanger/
• blog/api/: REST controllers (ArticleApi, UserApi, etc.)
• blog/service/: business logic
• blog/dao + resources/mapper/: MyBatis mappers & XMLs
• blog/po, vo: domain & view objects
• common/: cross-cutting (filters, aop, config, util, API for file upload & UEditor)
• generator/: code-generation module (reads DB schema, outputs PO/DAO/VO, etc.)
• mybatis/: custom dialects + pagination utilities
• ueditor/: server integration for UEditor uploads
– src/main/resources/: application.yml, dev/prod profiles, ehcache, log4j
c. Other
– doc/: SQL scripts, project documentation & screenshots
README for additional insights
• Confirms front/back separation, tech stack (Spring Boot, MyBatis, MySQL, Redis, Vue, Element, UEditor), feature split (blog portal & admin).