In fact, there are a lot of projects online, but the tutorial is not much more detailed, today to share the project from the installation and deployment to the specific functions of the code are very detailed

Eladmin is a back-end management system based on Spring Boot 2.1.0, Jpa, Spring Security, Redis and Vue. The project adopts modular development mode, RBAC is used for permission control, and data dictionary and data permission management are supported. Support one – key generation front – end code, support dynamic routing.

The open source project is basically stable and will continue to be improved by the authors. Completely open source! This really want to give a thumbs-up to the original author, if you think this project is useful, suggest you can donate a little to support the original author. The backend collation code quality, table design, and so on are all very good. The front and back ends are separated, and the front end uses the vUE framework commonly used in China, which is also easier to use.

System function

  • User management: provides user configurations. The default password of a new user is 123456
  • Role management: Allocates permissions and menus, and sets data permissions for roles based on departments
  • Menu management: Dynamic menu routing is implemented, and the backend can be configured to support multi-level menus
  • Department management: You can configure the system organization structure and display it in a tree
  • Position management: position allocation in each department
  • Dictionary management: can maintain some common fixed data, such as: status, gender, etc
  • System logs: Records user operation logs and exception logs, helping developers locate faults
  • SQL monitoring: Druid is used to monitor the database access performance. The default user name is admin and the password is 123456
  • Scheduled task: Integrate Quartz to do scheduled task, add the task log, the task running situation is clear
  • Code generation: High flexibility to generate front-end and back-end code, reducing a lot of repetitive work tasks
  • Mail tool: with rich text, send HTML mail
  • Qiniu Cloud storage: The qiniu cloud storage data can be synchronized to the system. You do not need to log in to Qiniu cloud storage to directly operate the cloud data
  • Alipay payment: integrated Alipay payment and provided a test account for self-testing
  • Service monitoring: Monitors server load
  • Operations management: One-click deployment of your application

The project structure

The project adopts the development mode of modules according to functions, and its structure is as follows

  • eladmin-commonIs the public module of the system, various tool classes, common configuration exists in this module
  • eladmin-systemThe core module of the system is also the entry module of the project and the module that needs to be packaged and deployed finally
  • eladmin-loggingIs the log module of the system. If other modules need to record logs, import this module
  • eladmin-toolsIt is a third-party tool module, including: chart bed, mail, cloud storage, local storage, alipay
  • eladmin-generatorGenerate modules for the system code. The template for code generation is in the System module

Detailed structure

- Eladmin-common public module - Annotation For system custom annotations - Aspect The aspect of custom annotations - base provides a generic mapper-Config for Entity, DTO base class, and Mapstruct User-defined permission implementation, Redis configuration, Swagger configuration, Rsa configuration, etc. - exception Unified exception handling - utils System general tool class - eladmin-system System core module (system startup entry) - config Configure cross-domain and static resources, Data permissions - thread Thread pool - modules System related modules, such as login authorization, system monitoring, scheduled tasks, and O&M management. - eladmin-logging System log module - eladmin-tools System third-party tool module - Eladmin-generator System code generation moduleCopy the code

I found the bright spot

  • Unified exception handling design
  • Design of annotation permissions
  • Interface – level traffic limiting design
  • More perfect tools, such as Alipay, mail, timing tasks, various monitoring implementation
  • Cache redis

The background page

In addition, the author recently provided a detailed document to help students study the project. The document covers the detailed design of every piece from environment setup to back-end, which is very suitable for learning!

How to get:

  1. Identify and follow the public account “Mainong Blossom”
  2. Reply the keyword “springboot” in the background of the following public account

Welcome to pay attention to the public number [code farming blossom] learn to grow together I will always share Java dry goods, will also share free learning materials courses and interview treasure book reply: [computer] [design mode] [interview] have surprise oh