apps/admin is a React 19 + Vite single-page app. Admins run the whole marketplace from /dashboard. Vendors use the seller panel at /vendor in the same app.
pnpm dev:admin # http://localhost:5173
Open the live admin demo. Click Master Admin on the sign-in page to fill in the demo login.
What’s inside
| Section | What you can do |
|---|---|
| Dashboards | Sales overview, order dashboard and purchase dashboard with charts |
| Catalog | Products, categories, brands, product types and bases, sizes, colors, weights, badges, reviews |
| Orders | All orders, abandoned carts, invoices with print and PDF |
| Vendors | Vendor list and details, approvals, vendor products, vendor analytics, commission settings, quality checks |
| People | Customers, admins and roles, employees, salaries, subscriptions, addresses |
| CMS | Hero, ad and page banners, menus, about page, careers, team, customer reviews, blog (posts, authors, categories, tags) |
| Marketing | Coupons and notifications |
| Purchasing | Purchase orders with approval steps and suppliers |
| Settings | Website config, icons, social media, contact settings, component types |
| System | Live API metrics and an endpoint tester |
Roles
Every account has a role, and the API checks it on every request, so hiding a menu item is never the only protection:
| Role | Can use |
|---|---|
admin |
The whole admin at /dashboard |
employee |
Staff work, with a job of packer, deliveryman, accounts, incharge or call_center |
vendor |
The seller panel at /vendor, once approved |
user |
The storefront and mobile app (customers) |
preview |
A read-only demo login that can look around but not change data |
Settings
The admin reads VITE_* values from apps/admin/.env. VITE_NEXT_PUBLIC_API_URL must point at your API.
Warning
Vite reads .env only when it starts or builds. After changing a value, restart pnpm dev:admin, or rebuild and redeploy.
