How isurusandaruwan97/inventory-management-dashboard works
This React dashboard supports inventory operations from sign-in through role-filtered navigation to stock, production, store, delivery, configuration, and user-management screens. The clearest evidenced flow is login submission to the authentication service, followed by route selection and page rendering. The README documents a NestJS API and inventory monitoring capabilities; several feature screens and service implementations are unsampled, so their detailed interactions are not inferred.
Main entry points: routes.tsx Role Routes · App.tsx App Router · stock Stock and Inventory · categories Product Categories
Components 20
Application Shell
- App Router
src/App.tsx - Role Routes
src/configs/routes.tsx
Identity and Access
- Sign In
src/features/auth/login.tsx - Authentication Service
src/features/auth/services/auth.service.ts - PIN and Session Gate
src/App.tsx
Inventory Operations
- Dashboard
src/features/dashboard - Stock and Inventory
src/features/stock - Production
src/features/production - Store and Returns
src/features/store - Delivery
src/features/delivery - Inventory Details
src/features/stock/components/ExpandCotent.tsx
Administration
- Product Categories
src/features/configurations/categories - Category Form
src/features/configurations/categories/components/ProductCategoriesForm.tsx - Item Configuration
src/features/configurations/items - Item API Service
src/features/configurations/items/services/index.ts - User Management
src/features/users/index.tsx - User Form
src/features/users/components/UserForm.tsx - User API Service
src/features/users/services/index.ts
Other components
- Dashboard User
- NestJS API
Connections 26
- Dashboard User → App Router: opens
src/App.tsx - App Router → Sign In: routes sign-in
src/App.tsx - App Router → Role Routes: renders routes
src/App.tsx - Role Routes → Dashboard: selects screen
src/configs/routes.tsx - Role Routes → Stock and Inventory: selects screen
src/configs/routes.tsx - Role Routes → Production: selects screen
src/configs/routes.tsx - Role Routes → Store and Returns: selects screen
src/configs/routes.tsx - Role Routes → Delivery: selects screen
src/configs/routes.tsx - Role Routes → Product Categories: selects screen
src/configs/routes.tsx - Role Routes → Item Configuration: selects screen
src/configs/routes.tsx - Role Routes → User Management: selects screen
src/configs/routes.tsx - Sign In → Authentication Service: submits credentials
src/features/auth/login.tsx - Authentication Service → NestJS API: sends login request
src/features/auth/services/auth.service.ts - App Router → PIN and Session Gate: gates protected pages
src/App.tsx - Stock and Inventory → Inventory Details: renders details
src/features/stock/Inventory.tsx - Product Categories → Category Form: opens form
src/features/configurations/categories/index.tsx - Item Configuration → Item API Service: fetches item data
src/features/configurations/items/index.tsx - Item API Service → NestJS API: requests item data
src/features/configurations/items/services/index.ts - User Management → User Form: opens form
src/features/users/index.tsx - User Management → User API Service: fetches users
src/features/users/index.tsx - User API Service → NestJS API: requests user data
- Product Categories → NestJS API: uses API
- Stock and Inventory → NestJS API: uses API
- Production → NestJS API: uses API
- Store and Returns → NestJS API: uses API
- Delivery → NestJS API: uses API