How artixxkrieger/artixpos works
ArtixPOS is an industry-adapted, multi-branch point-of-sale platform. The main workflow is staff using the register to record sales, with product and inventory data supporting operations and sales/reporting features available alongside it. The README documents offline selling and later synchronization, plus industry-specific modules. The source excerpts show client query caching and server persistence/auth patterns; many feature routes are unsampled, so their detailed call paths are omitted.
Main entry points: sales.ts Sales endpoints · db.ts Database access · queryClient.ts API and query cache · App.tsx POS application
Components 26
Storefront
- POS application
client/src/App.tsx - API and query cache
client/src/lib/queryClient.ts - Offline storage
client/src/lib/offline-db.ts
Sales and stock
- Register and sales
client/src/pages/pos.tsx - Products and inventory
client/src/pages/inventory-hub.tsx - Sales endpoints
server/routes/sales.ts - Product endpoints
server/routes/products.ts
Business operations
- Industry workflows
client/src/pages - Analytics and reports
client/src/pages/analytics.tsx - Staff and payroll
server/payroll-routes.ts - Admin endpoints
server/admin-routes.ts - Tenant administration
server/admin-storage.ts
Server platform
- Authentication
server/auth/core.ts - Access controls
server/middleware.ts - Route utilities
server/lib/route-utils.ts - Server cache
server/cache.ts - Login protection
server/brute-force.ts - Redis service
server/redis.ts
Persistence
- Sales persistence
server/infrastructure/persistence/sales.ts - Inventory persistence
server/infrastructure/persistence/inventory.ts - Database access
server/db.ts - Storage facade
server/storage/index.ts - Persistence base
server/infrastructure/persistence/base.ts - Data model
shared/schema.ts - Shift persistence
server/infrastructure/persistence/shifts.ts
Other components
- Store staff
Connections 28
- Store staff → POS application: uses
README.md - POS application → Register and sales: opens register
client/src/App.tsx - Register and sales → API and query cache: requests data
- API and query cache → Offline storage: caches responses
client/src/lib/queryClient.ts - API and query cache → Sales endpoints: calls API
- Products and inventory → API and query cache: requests data
- Sales endpoints → Sales persistence: uses persistence
server/routes/sales.ts - Sales endpoints → Shift persistence: reads shifts
server/routes/sales.ts - Product endpoints → Inventory persistence: uses persistence
- Industry workflows → POS application: routed by
client/src/App.tsx - Store staff → Industry workflows: uses
README.md - Store staff → Analytics and reports: reviews reports
README.md - Store staff → Staff and payroll: manages payroll
README.md - Admin endpoints → Tenant administration: calls
server/admin-routes.ts - Admin endpoints → Login protection: records failures
server/admin-routes.ts - Login protection → Redis service: uses
server/brute-force.ts - Sales endpoints → Access controls: uses access checks
server/routes/sales.ts - Sales endpoints → Route utilities: uses helpers
server/routes/sales.ts - Authentication → Database access: queries
server/auth/core.ts - Access controls → Database access: queries
server/middleware.ts - Tenant administration → Database access: queries
server/admin-storage.ts - Storage facade → Sales persistence: delegates
server/storage/index.ts - Storage facade → Inventory persistence: delegates
server/storage/index.ts - Sales persistence → Persistence base: uses base
- Inventory persistence → Persistence base: uses base
server/infrastructure/persistence/inventory.ts - Persistence base → Database access: queries
server/infrastructure/persistence/base.ts - Database access → Data model: maps models
server/db.ts - Sales endpoints → Server cache: invalidates
server/routes/sales.ts