How bhimall/retail-suite-frappe works
Retail Suite is a Frappe-backed retail platform with a Vue interface for point-of-sale and eCommerce, plus inventory, customer, workforce, shift, and reporting capabilities. Users enter through routed storefront or staff pages; the POS supports item lookup and payment, while backend APIs and Frappe documents handle retail operations and persistent records. The sampled code confirms the frontend API client, POS backend integrations, and shift-closing logic. Many listed capabilities are represented by their exact page or API directories; their internal calls were not sampled, so those links are omitted.
Main entry points: api Frappe retail APIs · router.js Page routing · api.js Frontend API client · invoices.js Sales and invoices
Components 20
Vue application
- Application shell
retail-suite/src/App.vue - Page routing
retail-suite/src/router.js
Sales and commerce
- POS checkout
retail-suite/src/pages/Pay.vue - Online storefront
retail-suite/src/pages/website - Barcode and search
retail-suite/src/layout/SearchBar.vue - Offers and loyalty
retail-suite/src/pages/promotions - Customer management
retail-suite/src/pages/customers - Sales and invoices
retail-suite/src/stores/invoices.js
Retail operations
- Inventory operations
retail-suite/src/pages/inventory - Suppliers and purchasing
retail-suite/src/pages/suppliers - POS shift control
retail-suite/src/stores/shift.js - Shift closing
retail/retail/doctype/pos_closing_shift/pos_closing_shift.py - Staff and attendance
retail-suite/src/pages/attendance - Accounting
retail-suite/src/pages/accounting - Analytics and reports
retail/retail/api/reports.py - Security and users
retail-suite/src/pages/security
Backend platform
- Frontend API client
retail-suite/src/services/api.js - Frappe retail APIs
retail/retail/api - Frappe records
Other components
- Shopper or staff
Connections 17
- Shopper or staff → Page routing: opens pages
- Page routing → Application shell: renders routes
retail-suite/src/main.js - Application shell → Page routing: renders view
retail-suite/src/App.vue - Page routing → POS checkout: routes checkout
retail-suite/src/router.js - Page routing → Online storefront: routes storefront
retail-suite/src/router.js - Barcode and search → Frontend API client: fetches items
retail-suite/src/layout/SearchBar.vue - POS checkout → Frontend API client: calls services
retail-suite/src/pages/Pay.vue - Frontend API client → Frappe retail APIs: requests methods
retail-suite/src/services/api.js - Frappe retail APIs → Frappe records: reads and writes
retail/retail/api/posapp.py - Frappe retail APIs → Offers and loyalty: uses coupon rules
retail/retail/api/posapp.py - Frappe retail APIs → Customer management: uses contact APIs
retail/retail/api/posapp.py - Frappe retail APIs → Suppliers and purchasing: uses address APIs
retail/retail/api/posapp.py - Shift closing → Frappe retail APIs: uses POS helpers
retail/retail/doctype/pos_closing_shift/pos_closing_shift.py - Shift closing → Frappe records: loads shift records
retail/retail/doctype/pos_closing_shift/pos_closing_shift.py - POS shift control → Frontend API client: requests shift data
retail-suite/src/stores/shift.js - Sales and invoices → Frontend API client: requests invoice data
retail-suite/src/stores/invoices.js - Sales and invoices → POS shift control: reads shift state
retail-suite/src/stores/invoices.js