A modern full-stack admin system template built with Rust (Axum) and React (Vite + Ant Design). Designed for performance, simplicity, and scalability.
This project aims to become a modern admin backend template in the Rust ecosystem, providing:
- Out-of-the-box: Complete RBAC permission system and basic functionality
- Code Quality: Good code structure and security
- Easy to Extend: Clear modular architecture
- Best Practices: Demonstrates Rust + React full-stack development patterns
Layer | Technology |
---|---|
Backend | Rust, Axum, SQLx, PostgreSQL, Tracing |
Frontend | React, TypeScript, Vite, Ant Design, TailwindCSS |
Auth | JWT (JSON Web Tokens) |
Tooling | just, pnpm |
rustzen-admin/
├── src/ # Rust (Axum) API service source code
├── web/ # React (Vite) admin frontend
├── migrations/ # Database migration files
├── docs/ # Project documentation
├── Cargo.toml # Rust dependencies configuration
├── justfile # Project command runner
└── README.md
-
Clone the repository:
git clone https://github.com/idaibin/rustzen-admin.git cd rustzen-admin
-
Set up environment variables:
cp .env.example .env # Edit .env file with database connection information
-
Install dependencies:
# Install just and Rust dependencies cargo install just cargo install cargo-watch # Install frontend dependencies cd web && pnpm install && cd ..
-
Start the project:
just dev
The application will be available at
http://localhost:5173
.
- 🏗️ Architecture Design - System modules and technical architecture
- ⚙️ Permission Design - Design and usage guide
This project is licensed under the MIT License. See LICENSE.md for details.
Developed by [idaibin], committed to building deployable, maintainable, and scalable Rust full-stack system engineering templates 🦀