A professional, modern College Administration Dashboard designed for Principals and Administrators to manage all aspects of college operations from a single interface.
- Key Metrics: Total Students, Faculty, Departments, and Average GPA with growth indicators
- Student Distribution: Interactive donut chart showing department-wise student distribution
- Academic Performance: Line chart tracking GPA trends over months
- Department Heads: List of active department heads with status indicators
- Recent Activities: Real-time activity feed with timestamps
- Quick Actions: One-click access to common administrative tasks
- Sidebar Navigation: Students, Faculty, Courses, Attendance, Fees, Reports, Events, Settings
- Top Navbar: Search functionality, notifications, and user profile
- Responsive Design: Fully responsive for desktop and mobile devices
- Modern UI: Built with Next.js 15, React 19, and Tailwind CSS
- Interactive Charts: Powered by Recharts for data visualization
- Component Library: Uses Radix UI components for consistent design
- TypeScript: Full TypeScript support for better development experience
- Mock Data: Ready-to-use demo data for presentation purposes
- Node.js 18+
- pnpm (recommended) or npm
-
Clone the repository
git clone <repository-url> cd userdashboardlatest
-
Install dependencies
pnpm install
-
Run the development server
pnpm dev
-
Open your browser Navigate to http://localhost:3000
βββ app/
β βββ layout.tsx # Root layout with metadata
β βββ page.tsx # Main dashboard page
β βββ globals.css # Global styles
βββ components/
β βββ college-admin-dashboard.tsx # Main dashboard component
β βββ college-admin/
β β βββ sidebar.tsx # Navigation sidebar
β β βββ top-navbar.tsx # Top navigation bar
β β βββ dashboard-content.tsx # Main content layout
β β βββ stats-cards.tsx # Key metrics cards
β β βββ student-distribution-chart.tsx # Student distribution chart
β β βββ academic-performance-chart.tsx # Academic performance chart
β β βββ heads-of-departments.tsx # Department heads list
β β βββ recent-activities.tsx # Recent activities feed
β β βββ quick-actions.tsx # Quick action buttons
β β βββ students-view.tsx # Students management view
β β βββ faculty-view.tsx # Faculty management view
β β βββ courses-view.tsx # Courses management view
β β βββ attendance-view.tsx # Attendance tracking view
β β βββ fees-view.tsx # Fee management view
β β βββ reports-view.tsx # Reports and analytics view
β β βββ events-view.tsx # Events management view
β β βββ settings-view.tsx # System settings view
β βββ ui/ # Reusable UI components (Radix UI)
βββ lib/
β βββ utils.ts # Utility functions
βββ public/ # Static assets
- Primary Blue: #3B82F6 (Navigation, buttons)
- Success Green: #10B981 (Positive metrics)
- Warning Orange: #F59E0B (Alerts, warnings)
- Error Red: #EF4444 (Errors, important notices)
- Purple: #8B5CF6 (Charts, accents)
- Font: Geist Sans (Modern, clean, professional)
- Headings: Bold weights for hierarchy
- Body: Regular weights for readability
- Cards: White background with subtle shadows
- Buttons: Consistent styling with hover effects
- Charts: Interactive with tooltips and legends
- Tables: Clean, minimal design with proper spacing
The dashboard is designed to be easily connected to a backend API. Here's what you need to do:
Update the following components with real API calls:
stats-cards.tsx- Connect to metrics APIstudent-distribution-chart.tsx- Connect to student data APIacademic-performance-chart.tsx- Connect to performance APIheads-of-departments.tsx- Connect to faculty APIrecent-activities.tsx- Connect to activity feed API
Implement authentication using:
- NextAuth.js for session management
- JWT tokens for API authentication
- Role-based access control (RBAC)
Add real-time functionality:
- WebSocket connections for live notifications
- Server-Sent Events for activity updates
- Polling for data refresh
Connect quick actions to forms:
- Add form validation with react-hook-form
- Implement proper error handling
- Add loading states and success feedback
The dashboard is fully responsive and works on:
- Desktop: Full layout with sidebar and detailed charts
- Tablet: Collapsible sidebar with optimized spacing
- Mobile: Stacked layout with mobile-friendly navigation
- 2,487 Total Students (+5.2% growth)
- 143 Faculty Members (+3.1% growth)
- 8 Active Departments
- 3.42 Average GPA (+0.15 improvement)
- Student Distribution across 8 departments
- Academic Performance trend over 11 months
- 5 Department Heads with status indicators
- 5 Recent Activities with timestamps
- 6 Quick Actions for common tasks
- Dashboard: Main overview with charts and metrics
- Students: Student management with searchable table
- Faculty: Faculty directory with profiles and status
- Courses: Course management with detailed information
- Attendance: Attendance tracking with statistics
- Fees: Fee management with payment status
- Reports: Report generation and analytics
- Events: Event management with upcoming events
- Settings: System settings and configuration
- Push your code to GitHub
- Connect your repository to Vercel
- Deploy automatically
- Netlify: Build command:
pnpm build - Railway: Add build script to package.json
- Docker: Use the provided Dockerfile
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue in the repository
- Contact the development team
- Check the documentation
Built with β€οΈ using Next.js, React, and Tailwind CSS