How shanmugavelarumugam/ims works
This is a browser-based business and inventory management application, with tenant sign-in and a separate platform-admin area. Users enter through the public or authentication routes, then use the tenant dashboard and operational pages for products, stock, purchasing, sales, customers, suppliers, and reports. The frontend is organized around routed pages, shared layouts, and feature modules, with API service modules using a common HTTP client. The source index documents major routes and feature areas, but unsampled implementations and several page-to-service connections cannot be verified, so those links are omitted.
Main entry points: App.tsx Route Application · client.ts HTTP Client · RootLayout.tsx Tenant Layout · AdminDashboardPage.tsx Platform Admin
Components 23
App Entry
- Route Application
src/App.tsx - Landing & Auth
src/modules/landing/pages/LandingPage.tsx
Access & Platform
- Tenant Layout
src/app/layouts/RootLayout.tsx - Admin Layout
src/app/layouts/AdminLayout.tsx - Authentication
src/modules/auth/pages/LoginPage.tsx - Platform Admin
src/modules/admin/pages/AdminDashboardPage.tsx
Business Operations
- Business Dashboard
src/modules/dashboard/pages/DashboardPage.tsx - Products & Categories
src/modules/products/pages/ProductsPage.tsx - Inventory & Transfers
src/modules/inventory/pages/InventoryPage.tsx - Purchasing
src/modules/purchases/pages/PurchasesPage.tsx - Sales
src/modules/sales/pages/SalesPage.tsx - Supplier Management
src/modules/suppliers/pages/SuppliersPage.tsx - Customer Management
src/modules/customers/pages/CustomersPage.tsx - Reports
src/modules/reports/pages/ReportsPage.tsx - Branches
src/modules/branches/pages/BranchesPage.tsx - Settings & Profile
src/modules/settings/pages/SettingsPage.tsx
API Services
- Auth API
src/core/api/auth.ts - Business API
src/core/api/business.ts - Supplier API
src/core/api/suppliers.ts - Platform API
src/core/api/platform.ts - HTTP Client
src/core/api/client.ts
Other components
- Business User
- API Server
Connections 25
- Business User → Route Application: opens
- Route Application → Landing & Auth: routes to
src/App.tsx - Route Application → Authentication: routes to
src/App.tsx - Route Application → Tenant Layout: routes to
src/App.tsx - Route Application → Admin Layout: routes to
src/App.tsx - Route Application → Platform Admin: routes to
src/App.tsx - Route Application → Business Dashboard: routes to
src/App.tsx - Route Application → Inventory & Transfers: routes to
src/App.tsx - Route Application → Products & Categories: routes to
src/App.tsx - Route Application → Purchasing: routes to
src/App.tsx - Route Application → Sales: routes to
src/App.tsx - Route Application → Supplier Management: routes to
src/App.tsx - Route Application → Customer Management: routes to
src/App.tsx - Route Application → Reports: routes to
src/App.tsx - Route Application → Branches: routes to
src/App.tsx - Route Application → Settings & Profile: routes to
src/App.tsx - Tenant Layout → Auth API: loads profile
src/app/layouts/RootLayout.tsx - Auth API → HTTP Client: uses
src/core/api/auth.ts - Business API → HTTP Client: uses
src/core/api/business.ts - Supplier API → HTTP Client: uses
- Platform API → HTTP Client: uses
src/core/api/platform.ts - Platform Admin → Platform API: calls
src/modules/admin/pages/AdminDashboardPage.tsx - Business Dashboard → Business API: loads business
src/modules/dashboard/pages/DashboardPage.tsx - Supplier Management → Supplier API: calls
src/modules/suppliers/pages/SuppliersPage.tsx - HTTP Client → API Server: HTTP requests
src/core/api/client.ts