English | 简体中文
VueSys is a modern, responsive admin dashboard built with Vue 3, offering a comprehensive set of features for user management, role-based access control, and dynamic menu management.
Backend: VueSys - Admin Dashboard Backend
Username/Password: admin/Test@1234
-
🔐 Secure Authentication System
- JWT-based authentication with HttpOnly cookies
- Secure access token and refresh token handling
- HTTPS support with SSL/TLS encryption
- CSRF protection
- Remember me functionality
- Session management
- Rate limiting protection
-
👥 User Management
- User CRUD operations
- Profile management with avatar support
- Password management
-
🔑 Role-Based Access Control (RBAC)
- Role management
- Permission assignment
- Dynamic menu access based on roles
-
📱 Responsive Design
- Mobile-friendly interface
- Adaptive layouts for all screen sizes
-
🎨 Theme Support
- Light/Dark mode
- Persistent theme settings
-
🌐 Internationalization Ready
- Multi-language support
- Easy language switching
-
📊 Dynamic Tab Management
- Multi-tab support
- Tab persistence
-
🔍 Advanced Search Capabilities
- Real-time search
- Filtered queries
- Server-side pagination
- Customizable page sizes
- Sorting capabilities
-
📝 Comprehensive Audit Logging
- Detailed activity tracking
- User action history
- System change monitoring
- Searchable audit logs
- Filtered audit reports
-
📧 Email Notifications
- User registration emails
- Password reset emails
- Notification emails
- Customizable email templates
-
Chat System
- Real-time messaging
- Group chat support
- Message history
- Message read status
- File attachments
- Vue 3 - Progressive JavaScript Framework
- Typescript - Type safety and better developer experience
- Pinia - State management
- Vue Router - Navigation management
- Element Plus - UI component library
- Tailwind CSS - Utility-first CSS framework
- Axios - HTTP client
- Vite - Build tool and development server
- Node.js (v20.17)
- npm or yarn
- Git
- Clone the repository
git clone [https://github.com/penn201500/vuesys-vue3-admin-frontend.git](https://github.com/penn201500/vuesys-vue3-admin-frontend.git)
cd vue3-admin-frontend
- Install dependencies
npm install
# or
yarn install
- Configure environment variables
Create a
.env.development
file in the root directory:
# .env.development
VITE_APP_BACKEND_URL=https://localhost:8000
VITE_SSL_KEY_PATH=~/localhost+2-key.pem
VITE_SSL_CERT_PATH=~/localhost+2.pem
- Generate a self-signed SSL certificate
brew install mkcert
mkcert -install # windows use 'choco install mkcert'
mkcert localhost 127.0.0.1 ::1 # This will generate localhost+2.pem (certificate) and localhost+2-key.pem (key).
-
Update the
.env.development
file with the generated SSL certificate paths -
Update vite.config.ts
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd())
return {
server: {
https: {
key: fs.readFileSync(path.resolve(__dirname, env.VITE_SSL_KEY_PATH)),
cert: fs.readFileSync(path.resolve(__dirname, env.VITE_SSL_CERT_PATH)),
},
port: 3000,
},
}
})
- Start development server
npm run dev
# or
yarn dev
src/
├── assets/ # Static assets
├── components/ # Reusable components
├── layouts/ # Layout components
├── router/ # Route configurations
├── stores/ # Pinia stores
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
└── views/ # Page components
- Create new components in the
components
directory - Add new routes in
router/index.ts
- Create new stores in
stores
if needed - Add new views in the
views
directory
- Fork the repository or open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details