Repository navigation
Releases: AkibUllah/react-admin-dashboard
Releases · AkibUllah/react-admin-dashboard
Release list
v0.1.0
First public release of ShopBD Admin Dashboard.
Highlights
- Login with a fake JWT (expiry-aware), persisted session, route guards that return you to the page you asked for.
- Dashboard: four KPI cards with 30-day deltas, Recharts revenue area chart, orders-by-status breakdown, recent orders.
- Orders: server-style pagination, multi-column sorting, debounced search and status filter, all stored in the URL; detail modal with a status state machine (only valid transitions offered).
- Customers: lifetime value ranking, Dhaka/Chattogram/Sylhet addresses, BD phone numbers.
- Products: full CRUD in modal forms with react-hook-form + zod; prices entered in Taka and stored in paisa; server validation errors mapped back onto fields; delete confirmation.
- Settings: light/dark/system theme and a validated profile form.
- MSW 2 mock backend with a seeded PRNG dataset (480 orders, 120 customers, 28 products) so every reload shows the same data; artificial latency to exercise loading states.
- Dark mode, responsive off-canvas sidebar, toast notifications, skeleton loaders, error boundaries per route, inline API error panels with retry, 404 page.
- 42 Vitest + Testing Library tests, strict TypeScript, ESLint, CI on Node 18 and 20, nginx Dockerfile with SPA fallback and health endpoint.
Getting started
- Quick start (Docker and local): see the README.
- Live demo / API reference: https://akibullah.github.io/react-admin-dashboard/
- Run it in your browser: Open in GitHub Codespaces
Quality
- Full test suite, lint and build run in CI on every push and pull request.
- MIT licensed.