How salkeomkar578-lab/skipline-go works
Skipline Go is a scan-and-go retail checkout app with customer shopping, staff exit verification, and store administration. The documented customer journey is product scanning, in-app payment, and an exit QR; staff verify the QR and items. The graph preserves preorder, AI assistance, multilingual UI, and transaction/Firebase services. Some feature links come from README descriptions or the SOURCE INDEX; unsampled implementation details and payment-provider wiring are not asserted.
Main entry points: CustomerView.tsx Customer Checkout · App.tsx App Shell · StaffView.tsx Exit Verification · firebaseService.ts Cloud Data Service
Components 20
Customer Shopping
- App Shell
App.tsx - Customer Checkout
views/CustomerView.tsx - Product Scanner
components/CameraScanner.tsx - Preorder QR
components/PreorderQRCode.tsx - Exit QR
components/ExitQRCode.tsx - AI Shopping Help
components/AIChatbot.tsx
Store Operations
- Exit Verification
views/StaffView.tsx - Store Admin
views/AdminView.tsx
Application Services
- Product Catalog
constants.ts - Local Transactions
services/transactionStore.ts - Cloud Data Service
services/firebaseService.ts - Firebase Setup
config/firebase.ts - Gemini AI Service
services/geminiService.ts
Shared Experience
- Language Context
context/LanguageContext.tsx - Translations
services/languageService.ts - Language Selector
components/LanguageSelector.tsx
Other components
- Shopper
- Store Staff
- Firebase
- Gemini API
Connections 27
- Shopper → App Shell: starts session
README.md - App Shell → Customer Checkout: opens mode
App.tsx - App Shell → Exit Verification: opens mode
App.tsx - App Shell → Store Admin: opens mode
App.tsx - Customer Checkout → Product Scanner: uses scanner
views/CustomerView.tsx - Product Scanner → Product Catalog: scans products
README.md - Customer Checkout → Product Catalog: uses product data
views/CustomerView.tsx - Customer Checkout → Local Transactions: stores checkout
views/CustomerView.tsx - Customer Checkout → Cloud Data Service: reads transaction
views/CustomerView.tsx - Customer Checkout → Exit QR: shows exit QR
README.md - Customer Checkout → Preorder QR: creates preorder QR
views/CustomerView.tsx - Store Staff → Exit Verification: verifies purchase
README.md - Exit Verification → Preorder QR: decodes preorder QR
views/StaffView.tsx - Exit Verification → Local Transactions: updates status
views/StaffView.tsx - Store Admin → Cloud Data Service: loads store data
views/AdminView.tsx - Store Admin → Gemini AI Service: requests analysis
views/AdminView.tsx - Customer Checkout → AI Shopping Help: offers shopping help
views/CustomerView.tsx - AI Shopping Help → Gemini AI Service: requests AI help
- Gemini AI Service → Gemini API: calls model
- Cloud Data Service → Firebase Setup: uses setup
services/firebaseService.ts - Cloud Data Service → Local Transactions: uses local store
services/firebaseService.ts - Cloud Data Service → Firebase: reads and writes
- App Shell → Language Selector: renders selector
App.tsx - Customer Checkout → Language Selector: renders selector
views/CustomerView.tsx - Exit Verification → Language Selector: renders selector
views/StaffView.tsx - Language Selector → Language Context: changes language
components/LanguageSelector.tsx - Language Context → Translations: loads translations
context/LanguageContext.tsx