Introduction to eladmin: An Open‑Source Spring Boot + Vue Admin System
The article presents a detailed overview of the open‑source eladmin project, describing its Spring Boot‑based backend, Vue front‑end, modular architecture, RBAC permission model, code generation, and various built‑in features such as logging, monitoring, and cloud storage integration.
eladmin is an open‑source, front‑back‑end separated admin system built on Spring Boot 2.1.0, JPA, Spring Security, Redis, and Vue, employing a modular development approach with RBAC permission control, data dictionary, dynamic routing, and one‑click code generation.
System Features
User Management: configure users, default password 123456.
Role Management: assign permissions and menus, data permissions per department.
Menu Management: dynamic routing configurable on the backend, supports multi‑level menus.
Department Management: configurable organizational structure displayed as a tree table.
Position Management: configure positions for each department.
Dictionary Management: maintain fixed data such as status, gender, etc.
System Logs: record user operations and exceptions for easier debugging.
SQL Monitoring: Druid‑based database performance monitoring (default admin/123456).
Scheduled Tasks: Quartz integration with task logs and status overview.
Code Generation: highly flexible front‑back‑end code generation to reduce repetitive work.
Email Tool: send HTML formatted emails with rich text.
Qiniu Cloud Storage: sync data to Qiniu without logging in.
Alipay Payment: integrated Alipay with test account.
Service Monitoring: monitor server load.
Operations Management: one‑click deployment of the application.
Project Structure
The project follows a feature‑based modular layout:
eladmin-common : common utilities and configurations.
eladmin-system : core module and entry point, the final deployable artifact.
eladmin-logging : logging module, to be imported by other modules needing logging.
eladmin-tools : third‑party tools including image hosting, email, cloud storage, local storage, Alipay.
eladmin-generator : code generation module with templates located in the system module.
Detailed Structure
- eladmin-common 公共模块
- annotation 为系统自定义注解
- aspect 自定义注解的切面
- base 提供了Entity、DTO基类和mapstruct的通用mapper
- config 自定义权限实现、redis配置、swagger配置、Rsa配置等
- exception 项目统一异常的处理
- utils 系统通用工具类
- eladmin-system 系统核心模块(系统启动入口)
- config 配置跨域与静态资源,与数据权限
- thread 线程池相关
- modules 系统相关模块(登录授权、系统监控、定时任务、运维管理等)
- eladmin-logging 系统日志模块
- eladmin-tools 系统第三方工具模块
- eladmin-generator 系统代码生成模块Highlights Noted by Developers
Unified exception handling design.
Annotation‑based permission design.
Interface‑level rate limiting.
Comprehensive tools such as Alipay, email, scheduled tasks, and various monitoring implementations.
Redis caching.
Key Features
Technology Stack: SpringBoot, JPA, Security, Redis, Vue, ElementUI.
Modularization: backend developed by functional modules to improve development and testing efficiency.
High Efficiency: one‑click code generation after configuring table information.
Separation: front‑end based on Vue, back‑end on Spring Boot.
Responsive: supports computers, tablets, and mobile devices.
Usability: suitable for various web projects such as OA, CMS, and backend management systems.
The author also provides detailed documentation covering environment setup and in‑depth backend design, making the project an excellent learning resource.
Source Code Access : Click the public account card, follow, and reply with 1821 to obtain the source.
Architecture Digest
Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.