How suvarnajewellers12-boop/suvarnagold works
Suvarna appears to be a jewelry-store operations application, with staff and administrators using a routed web interface for billing, inventory, customer orders, gold operations, schemes, and reporting. The visible entry flow is browser navigation through the frontend router into role-specific pages; those pages represent the business work, while a separate Next.js backend exposes corresponding API domains. The excerpts do not show frontend-to-backend requests, so those links are intentionally omitted. The README is empty, and several backend modules are represented only by their tree paths.
Main entry points: App.tsx Web application · AccessibilityContext.tsx Accessibility settings · useSpeech.tsx Speech controls · useKeyboardShortcuts.ts Keyboard navigation
Components 34
Application shell
- Web application
frontend/src/App.tsx - Accessibility settings
frontend/src/components/context/AccessibilityContext.tsx - Speech controls
frontend/src/hooks/useSpeech.tsx - Keyboard navigation
frontend/src/hooks/useKeyboardShortcuts.ts
Store operations
- Login
frontend/src/pages/Login.tsx - Dashboard and rates
frontend/src/pages/Dashboard.tsx - Billing
frontend/src/pages/Billing.tsx - Customer records
frontend/src/pages/Customers.tsx - Customer orders
frontend/src/pages/CustomerOrder.tsx - Estimation terminal
frontend/src/pages/EstimationTerminal.tsx - Credit notes
frontend/src/pages/CreditNote.tsx - Coupon management
frontend/src/pages/CouponManagement.tsx - Savings schemes
frontend/src/pages/CreateScheme.tsx
Inventory and gold
- Product inventory
frontend/src/pages/Products.tsx - Gold job work
frontend/src/pages/GoldJobWorkPage.tsx - Gold purchasing
frontend/src/pages/GoldPurchasePage.tsx
Administration
- Admin management
frontend/src/pages/AdminManagement.tsx - Staff management
frontend/src/pages/staff.tsx - Reports
frontend/src/pages/Reports.tsx - Admin billing
frontend/src/pages/admin/AdminBilling.tsx - Admin credit notes
frontend/src/pages/admin/AdminCreditnote.tsx - Admin customers
frontend/src/pages/admin/AdminCustomer.tsx - Admin orders
frontend/src/pages/admin/AdminCustomerorder.tsx - Admin reports
frontend/src/pages/admin/AdminReports.tsx - Admin products
frontend/src/pages/admin/AdminProducts.tsx - Admin schemes
frontend/src/pages/admin/AdminCreateSchemes.tsx - Admin coupons
frontend/src/pages/admin/AdminSettings.tsx
Backend API domains
- Authentication API
suvarna-backend/app/api/auth - Customer API
suvarna-backend/app/api/customers - Product API
suvarna-backend/app/api/products - Gold operations API
suvarna-backend/app/api/gold - Payments API
suvarna-backend/app/api/payment - Schemes API
suvarna-backend/app/api/schemes
Other components
- Store user
Connections 15
- Store user → Web application: uses
- Web application → Login: routes to
frontend/src/App.tsx - Web application → Dashboard and rates: routes to
frontend/src/App.tsx - Web application → Customer orders: routes to
frontend/src/App.tsx - Web application → Admin orders: routes to
frontend/src/App.tsx - Web application → Admin billing: routes to
frontend/src/App.tsx - Web application → Admin credit notes: routes to
frontend/src/App.tsx - Web application → Admin products: routes to
frontend/src/App.tsx - Web application → Admin reports: routes to
frontend/src/App.tsx - Web application → Admin schemes: routes to
frontend/src/App.tsx - Web application → Accessibility settings: provides context
frontend/src/App.tsx - Web application → Speech controls: announces routes
frontend/src/App.tsx - Web application → Keyboard navigation: enables navigation
frontend/src/App.tsx - Speech controls → Accessibility settings: reads setting
frontend/src/hooks/useSpeech.tsx - Keyboard navigation → Accessibility settings: reads setting
frontend/src/hooks/useKeyboardShortcuts.ts