How gozzagu/storv-ui works
Storvv UI is a multi-branch retail operations platform: staff and owners sign in, select a store, and manage inventory and sales through a dashboard, with payment processing and other retail capabilities alongside that core workflow. The Nuxt client uses Firebase-backed state and server APIs; Paystack handles payment integrations. The graph preserves documented product areas, but many feature-specific page-to-service connections were not shown in the excerpts, so those links are omitted rather than inferred.
Main entry points: link-webhook.ts Payment processing · auth.ts Authentication state · index.vue Operations dashboard · receipts.ts Sales and receipts
Components 20
Identity and workspace
- Authentication state
stores/auth.ts - Firebase Auth
- User profile
stores/user.ts - Branch workspace
composables/useStaffWorkspaceContext.ts
Retail operations
- Operations dashboard
pages/dashboard/index.vue - Inventory management
stores/inventory.ts - Sales and receipts
stores/receipts.ts - Sales leads
stores/salesLeads.ts - Firestore
Payments
- Payment links
composables/usePaymentLinks.ts - Payment processing
server/utils/payments/link-webhook.ts - Payment records
server/utils/payments/records.ts - Paystack
Commerce extensions
- Online storefront
server/api/storefront/[slug]/index.get.ts - Trade and loans
server/utils/trade/loans.ts - Customer loyalty
server/utils/loyalty/sync.ts - Branch transfers
server/utils/transfers/service.ts
Analytics and discovery
- Global search
stores/search.ts - Retail analytics
pages/dashboard/analytics.vue
Other components
- Owner or staff
Connections 13
- Owner or staff → Authentication state: signs in
stores/auth.ts - Authentication state → Firebase Auth: authenticates with
stores/auth.ts - Authentication state → User profile: loads profile
stores/user.ts - Owner or staff → Operations dashboard: uses
- Operations dashboard → Inventory management: offers access
pages/dashboard/index.vue - Operations dashboard → Sales and receipts: loads sales
pages/dashboard/index.vue - Inventory management → Firestore: reads and writes
stores/inventory.ts - Sales and receipts → Firestore: reads and writes
stores/receipts.ts - User profile → Firestore: reads and writes
stores/user.ts - Global search → Sales and receipts: fetches when needed
stores/search.ts - Payment processing → Payment records: records payments
server/utils/payments/link-webhook.ts - Payment processing → Trade and loans: settles loan payment
server/utils/payments/link-webhook.ts - Payment processing → Paystack: handles webhook