crowd-admin

Project introduction

Crowd-admin is a spring-based universal background permission management system, integrating rBAC permission management, message push, email sending, task scheduling, code generation, Elfinder file management and other common functions. Each service in the system is divided by module, and the front desk uses H+ template. Is a Java newcomer easy to use, learning can quickly into the enterprise development of the guidance project

The main features

  • The project is modularized according to functions to improve the efficiency of development and testing
  • Support for message push
  • Integrate Elfinder for file management
  • Support data dictionary
  • Supports email sending and adopts activeMQ asynchronous decoupling
  • You can monitor and log out online users
  • Redis/Ehcache switching is supported
  • Support ip2region localization
  • Supports multiple data source operations
  • Integrated log section for easy logging
  • Front-end JS code is simple and clear, avoiding excessive encapsulation
  • Supports unified output of exceptions, avoiding complex judgment

The online demo

  • crowd-admin

Technology selection

  1. The back-end
    • Core framework: Spring
    • Control layer framework: SpringMVC
    • Permission control: Shiro
    • Message middleware: activeMQ
    • Message push: Websocket
    • Mail: javax.mail
    • Task scheduling: Quartz
    • Persistence layer framework: Mybatis-Plus
    • Log management: SLF4J > logback
    • Cache control: Ehcache/Redis switchable
    • Environment control: Using the Spring Profile-Dspring.profiles.active=devParameters can be flexibly changed to configuration files
  2. The front end
    • Template selection: Jsp
    • Management template: H+
    • JS framework: jQuery
    • Data table: bootstrapTable
    • File management: Elfinder
    • Pop-up layer: Layer
    • Notification message: Toastr
    • Message push/polling: sockJs, STOMp
    • Tree structure control: jsTree
    • Checkbox Selection control: bootstrapSwitch
  3. Development platform
    • JDK version: 1.8+
    • Maven: 3.5 +
    • Database: mysql8+
    • Cache: ehcache/redis
    • Ide: Eclipse/Idea

Built-in module

  1. System management
    • User management: System operator who can bind multiple roles
    • Role management: menu permission carrier, can be configured to button level permissions
    • Menu management: configure system directory, menu links, operation rights
    • Department management: Department to which the user belongs
    • Log operations: Records user operations, including request parameters
  2. The mail service
    • Email sending: Send emails asynchronously based on activeMQ
  3. Office notice
    • My notifications: Receive notifications from the current user
    • Notification management: Administrators send and manage notification messages
  4. Basic management
    • Data dictionary: To maintain some relatively fixed data that is often used in the system
    • File management: Integrated with Elfinder, you can view and modify uploaded files in the system
  5. System tools
    • Code generation: can dynamically generate background Java code according to the database table
    • Task scheduling: Configure task scheduling based on scheduling policies and execution targets
    • Task log: Record task logs for troubleshooting and tracking
  6. System monitoring
    • Online user: Monitors the status of active users in the current system and can be forced offline
    • Data monitoring: Monitors the current system database connection pool status and analyzes SQL to find system performance bottlenecks
    • System services: Monitors the current system CPU, memory, disk, stack, and other related information

Development tutorial

  • RuoYi document
  • Mybatis Plus document

Access to the source code

  • Crowd – cloud admin code
  • crowd-admin github

Refer to the project

  • AdminLTE-admin
  • bootdo
  • RuoYi

Instance screenshots

The login Home page User management Menu management Inform management Check the notification File management System services

Special sponsorship