Admin dashboard for managing products, orders, inventory, and analytics in the eKart ecommerce platform.
https://ekart-admin-dashboard.pages.dev/
| Repository | URL |
|---|---|
| eKart Frontend | https://github.com/sn0914r/ekart-frontend |
| eKart Backend | https://github.com/sn0914r/ekart-backend |
| eKart System | https://github.com/sn0914r/eKart-system |
- JWT-based authentication
- Role-Based Access Control (RBAC)
- Protected admin routes
- Persistent admin session state
- Revenue, orders, and stock metrics
- Sales and revenue charts
- Low stock alerts
- Create, update, and delete products
- Multi-image uploads
- Product category and stock management
- View and update orders
- Order status tracking
- Customer and shipping details
- Responsive admin dashboard
- Dark/Light mode support
- Toast notifications
- React
- Vite
- React Router
- Zustand
- TanStack Query
- React Hook Form
- Zod
- Bootstrap
- Emotion
- Lucide React
- Recharts
src/
├── app/
│ ├── pages/
│ ├── store/
│ ├── AppRouter.jsx
│ └── Providers.jsx
│
├── modules/
│ ├── analytics/
│ ├── auth/
│ ├── dashboard/
│ ├── orders/
│ └── products/
│
├── shared/
│ ├── components/
│ └── layout/
│
├── lib/
│ ├── apiClient.js
│ └── queryClient.js
│
└── utils/Create a .env file in the root directory:
VITE_API_BASE_URL=
VITE_NODE_ENV=developmentgit clone https://github.com/sn0914r/ekart-admin-panel.git
cd ekart-admin-panel
npm install
npm run dev- JWT authentication
- Role-Based Access Control (RBAC)
- Protected admin routes
- Automatic token refresh handling
- Authenticated API requests using Bearer tokens
- Form validation using Zod






