InsightDash is a frontend-focused dashboard application built with React that demonstrates role-based authentication, protected routes, and modern dashboard UI patterns commonly used in real-world SaaS products.
This project is intentionally designed for frontend internships, focusing on UI architecture, state management, and UX decisions rather than backend complexity.
- Role-based admin & user dashboard
- Frontend-only auth using Context API
- Protected routes with React Router
- Clean SaaS-style UI
- Deployed on Netlify
🔗 Live URL: https://insightdashh.netlify.app/
Authentication and data are mocked for frontend demonstration purposes.
- Username:
admin - Password:
admin
- Username:
user - Password:
user
- Mock authentication using React Context API
- Two roles: Admin and User
- Persistent login using localStorage
- Overview widgets (Users, Orders, Earnings, Balance)
- Analytics charts
- Orders management with actions
- Admin-only sidebar navigation
- Personalized home page
- Account summary
- Recent orders table
- Clean UI without admin controls
- Users cannot access admin-only pages
- Route-level access control based on role
- Conditional rendering for UI elements
- Clean SaaS-style dashboard layout
- Reusable cards and tables
- Responsive design
- Consistent spacing, typography, and colors
- React
- React Router
- Context API
- SCSS / CSS
- LocalStorage
- Netlify (Deployment)
❌ No backend
❌ No real database
✔ Frontend-focused architecture and UI logic
├── components/
├── context/
│ └── AuthContext.js
├── pages/
│ ├── login/
│ ├── dashboard/
│ ├── orders/
│ ├── profile/
│ └── userHome/
├── routes/
├── styles/
└── App.jsx
/login→ Login page/→ User home (User only)/dashboard→ Admin dashboard (Admin only)/orders→ Orders page (Admin only)/profile→ Profile page (Role-based view)
Client-side routing is handled using React Router, with Netlify redirects configured for refresh-safe navigation.
Key screens showcasing role-based access, dashboard UI, and user/admin flows.
Mock authentication entry point for Admin and User roles.
Personalized dashboard for users with order summary and recent activity.
User profile page displaying personal details and account summary.
Admin-only dashboard with analytics, widgets, and charts.
Orders table with actions and status indicators.
- All data shown is mocked
- Authentication is frontend-only
- Focus areas:
- Role-based UI rendering
- State management
- Component structure
- Dashboard UX patterns
- Replace mock auth with Firebase / JWT
- Connect to real backend APIs
- Add pagination & advanced filters
- Improve accessibility
- Add dark mode toggle
Aditya Verma
Frontend Developer
- GitHub: https://github.com/adit-ya15
- Portfolio: https://aditya-frontend-portfolio.vercel.app/
Feel free to ⭐ the repository — it helps a lot!




