How yuth04/vendo-dashboard works
VENDO Dashboard is an administrator-facing Next.js frontend for managing an e-commerce store. Administrators enter through the protected admin area, authenticate against the backend, and use management pages for catalog, customers, orders, returns, and analytics; the frontend communicates with VENDO’s REST API. The README documents these capabilities, while the sampled source shows shared authentication-aware API plumbing and notification wiring. Several feature modules are represented at their directories because their implementation was not sampled, so their internal call relationships are not inferred.
Main entry points: layout.tsx Admin area · apiClient.ts API client · notifications Notifications · authClient.ts Authentication
Components 18
Admin experience
- Admin area
src/app/admin/(dashboard)/layout.tsx - Authentication
src/app/components/modules/auth/core/api/authClient.ts - Dashboard analytics
src/app/components/modules/dashboard
Commerce management
- Product management
src/app/components/modules/products - Categories and brands
src/app/components/modules/settings - Promotions and coupons
src/app/components/modules/promotions - Customer management
src/app/components/modules/customers
Store operations
- Online orders
src/app/components/modules/online-orders - Order history
src/app/components/modules/history-orders - Returns and exchanges
src/app/components/modules/customer-return - Payment management
src/app/components/modules/online-orders - Stock and damage
src/app/components/modules/stock - Sales and product reports
src/app/components/modules/sales-reports - Product reviews
src/app/components/modules/product-reviews/components/ProductsReviews.tsx
Shared services
- Notifications
src/app/components/modules/notifications - API client
src/app/components/services/api/apiClient.ts
Other components
- Administrator
- VENDO REST API
Connections 20
- Administrator → Admin area: uses
README.md - Admin area → Authentication: authenticates through
README.md - Authentication → API client: requests through
src/app/components/modules/auth/core/api/authClient.ts - API client → VENDO REST API: sends REST requests
README.md - Admin area → Dashboard analytics: opens
README.md - Admin area → Product management: manages
README.md - Admin area → Categories and brands: manages
README.md - Admin area → Promotions and coupons: manages
README.md - Admin area → Customer management: manages
README.md - Admin area → Online orders: manages
README.md - Admin area → Order history: reviews
README.md - Admin area → Returns and exchanges: reviews
README.md - Admin area → Payment management: manages
README.md - Admin area → Stock and damage: manages
README.md - Admin area → Sales and product reports: reviews
README.md - Admin area → Product reviews: moderates
README.md - Admin area → Notifications: receives updates
- Notifications → API client: fetches through
src/app/components/modules/notifications/core/api/notificationClient.ts - API client → Notifications: used by listener
src/app/components/modules/notifications/core/api/notificationClient.ts - API client → Product management: supports requests
src/app/components/modules/products/core/api/productClient.ts