gitmyhub

vhr

Java ★ 28k updated 1y ago

微人事是一个前后端分离的人力资源管理系统,项目采用SpringBoot+Vue开发。

A web-based HR management system for tracking employees, departments, salaries, and payroll. Built with Spring Boot backend and Vue frontend, designed as a learning reference for full-stack enterprise applications.

JavaSpring BootSpring SecurityMyBatisMySQLRedisRabbitMQVue.jssetup: hardcomplexity 4/5

vhr (short for "weirenshi", meaning "micro HR") is a human resources management system whose code is split into a separate back end and front end. The project's README describes it as a scaffolding repo — useful as a learning template — and points readers toward two follow-up projects for a more business-complete version and for a rebuild on newer versions of the same stack. On the back end it uses Spring Boot together with Spring Security for login and permission control, MyBatis as the database layer, MySQL as the database, Redis for caching, RabbitMQ for messaging, Spring Cache, and WebSocket for real-time features. Database migrations are handled with Flyway, so you only need to create an empty database called vhr; the scripts run themselves. The front end is built with Vue, ElementUI for visual components, axios for HTTP calls, vue-router and Vuex for navigation and state, WebSocket, and vue-cli4 for tooling. During development the front end runs on its own port and forwards requests to the Spring Boot back end; for release you build the front-end project and drop the resulting static files into the back end. The system supports role-based access, so different users see different menus after logging in, and an administrator assigns roles and the resources each role may operate. Modules listed in the README's update log include department, job, position, basic employee data with advanced search, Excel import and export of employees, an automatic welcome email when a user is added, salary account management, employee account configuration, and an in-app HR chat.

Where it fits