Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source RBAC admin dashboard scaffold on Spring Boot 4, Java 21/25, Vue 3, and Vite 7 with code generator, data permissions, and WebSocket support.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Sz-Admin is an open-source RBAC admin dashboard boilerplate that combines a Spring Boot 4 backend with a Vue 3 frontend, delivering role-based access control, code generation, data permissions, and WebSocket messaging as a runnable starting point for enterprise management systems.
Sz-Admin is a full-stack scaffolding project maintained by developer feiyuchuixue under the Apache 2.0 license. It is split into three repositories: the sz-boot-parent backend, the sz-admin frontend, and the sz-deploy-v3 deployment scripts, with official documentation hosted at szadmin.cn. The backend uses Spring Boot 4.x, Java 21 LTS (default) or Java 25 LTS, Sa-Token, MyBatis-Flex, Liquibase, and Redis, while the frontend uses Vue 3.5, Vite 7.3, TypeScript 5.2, Element Plus 2.14, Pinia 3, and Vue Router 5. A live preview is available at preview.szadmin.cn, and the default login is admin / sz123456.
The architecture separates backend concerns into sz-common (generic capabilities), sz-module (business modules such as sz-module-admin and sz-module-generator), and sz-service (deployable services like sz-service-admin and sz-service-websocket). The frontend organizes code into src/core, src/editions, src/modules, and src/views, with dynamic menu resolution trying module registration first, then a convention path in src/modules, then src/views as fallback.
The quick start for the backend is to clone sz-boot-parent, create an empty database, edit the MySQL or PostgreSQL config in config/local, set the DB_TYPE environment variable (postgresql if switching), modify the Redis config, and launch com.sz.AdminApplication from sz-service/sz-service-admin. The frontend uses corepack to prepare pnpm 10.17.1, then pnpm install and pnpm dev, with .env.development.local providing API base URLs and a proxy target of http://127.0.0.1:9991. WebSocket capabilities require starting the separate sz-service-websocket service.
Yes, Sz-Admin is open source under the Apache License 2.0. The brand assets (name, logo, favicon) are independent from the source license, so separate permission is needed for public use of those assets.
The default admin account is admin with password sz123456. You can change it after first login through the account management page.
MySQL 8.0.17+ and PostgreSQL 16+ are supported, and you enable exactly one at runtime by setting DB_TYPE and including the corresponding sz-common-db-mysql or sz-common-db-postgresql dependency in sz-service-admin/pom.xml.
Java 21 LTS is the default and minimum baseline, and Java 25 LTS is also compatible; both compile to Java 21 bytecode. The dual-version support policy runs until 2026-08-31, after which the default and minimum baseline will move to Java 25.
Only for real-time messaging features. The WebSocket service (sz-service-websocket) runs independently on port 9993 by default, while the main admin service runs on port 9991. If you do not need real-time messages, you can skip starting the WebSocket service.
