Lager Guru - Product Overview
Enterprise-grade, human-first, safety-first operations platform with multi-tenant SaaS architecture.
What is Lager Guru?
Lager Guru is a modular Enterprise platform for warehouses and field operations. It delivers:
- Inventory Intelligence, Audit, and Granular Locations (Zone → Storage Unit → Bin)
- Pick & Pack with optimal routing
- Warehouse Map & Slotting Optimization AI
- Auto Assignment Engine
- Safety Pro (Incidents, Training, Compliance, worker access)
- Maintenance & Equipment Tracking
- Multi-tenant architecture, Editions (Free / Pro / Enterprise)
- Tool / Werkstatt module (Enterprise add-on)
- Offline-first, caching, Edge Function aggregation layer, multi-language UI (DE / EN / BG)
Core Capabilities
🏢 Multi-Tenant SaaS Architecture
- Complete tenant isolation with Row-Level Security (RLS)
- Per-tenant configuration and branding
- Enterprise SSO integration (OIDC/SAML)
- Scalable architecture supporting unlimited tenants
📦 Inventory Management & Intelligence
- Real-time stock tracking with complete audit trail
- Granular locations: Zone → Storage Unit → Bin
- Inventory Intelligence (velocity, turnover, risk), snapshots and audit logs
- Low stock alerts and automated reordering
- Barcode scanning integration
- Stock movement history (inbound, outbound, transfer, adjustment)
📋 Pick & Pack Operations
- Automated pick list generation
- Optimal route calculation using zone coordinates
- Real-time picking progress tracking
- Pack session management
- Integration with inventory for automatic stock updates
🗺️ Warehouse Visualization & Optimization
- Interactive SVG-based floor plan editor
- Real-time zone utilization heatmaps
- Driver and equipment location tracking
- Safety overlay visualization
- Pick route visualization
- Slotting Optimization AI for zone placement
🤖 Intelligent Routing & Auto Assignment
- Distance-based zone routing
- Optimal path calculation (nearest-neighbor algorithm)
- Pre-computed pairwise zone distances
- Routing weight optimization
- Integration with driver auto-assignment
🧠 Slotting Optimization AI
- AI-driven zone placement recommendations
- Movement velocity analysis
- Turnover rate optimization
- Congestion factor calculation
- Heatmap-based zone utilization
🚚 Auto Assignment Engine
- Intelligent driver-to-shipment matching
- Multi-factor scoring (distance, capacity, availability)
- Zone-based assignment optimization
- Real-time assignment suggestions
- Manual override capabilities
🔧 Maintenance Management
- Equipment maintenance scheduling
- Task tracking and completion
- Maintenance history and analytics
- Preventive maintenance alerts
- Integration with equipment tracking
⚠️ Safety Pro (Safety Intelligence v4.0)
- Predictive Safety Intelligence: Automated risk scoring engine with configurable weights
- Risk Clusters: Intelligent grouping of high-risk entities by severity patterns
- Hazard Mapping: Visual risk overlays on warehouse floor plans with smooth gradients
- OSHA/EU-OSHA Compliance Automation: Automated compliance checking with pattern matching
- Permit-to-Work Workflow: Complete permit management system with document tracking
- LMS Training Integration: Risk-based automatic training assignment
- Incident reporting and tracking
- Safety zone visualization or free-text locations
- Compliance checklist management and training with signatures
- Analytics and reporting
- Integration with warehouse map and dashboards
📱 Equipment Tracking
- QR/RFID/manual equipment location tracking
- Real-time equipment status
- Location history
- Integration with floor plan visualization
Architecture Overview
mermaid
graph TB
subgraph "Frontend Layer"
A[React PWA] --> B[Supabase Client]
end
subgraph "Backend Layer"
B --> C[Supabase API]
C --> D[PostgreSQL Database]
C --> E[Row-Level Security]
C --> F[Realtime Subscriptions]
end
subgraph "Services"
G[Routing Engine] --> D
H[Slotting AI] --> D
I[Auto Assignment] --> D
end
subgraph "External"
J[SSO Providers] --> C
K[Barcode Scanners] --> A
end
E --> L[Tenant Isolation]
F --> M[Live Updates]Technology Stack
| Layer | Technology |
|---|---|
| Frontend | React 18, TypeScript, Vite, Tailwind CSS, shadcn/ui |
| Backend | Supabase (PostgreSQL, Auth, Realtime, Storage) |
| Routing | React Router v6 |
| State Management | React Context API, React Query |
| Build Tool | Vite |
| PWA | Workbox, Service Workers |
| Charts | Recharts |
| Maps | SVG-based custom renderer |
User Roles
| Role | Permissions | Access Level |
|---|---|---|
| Super Admin | Full system access, tenant management | All tenants |
| Tenant Admin | Full tenant access, user management | Single tenant |
| Tenant User | Standard operations, limited admin | Single tenant |
| Inventory Worker | Inventory, Pick & Pack, Floor Plan (view) | Single tenant |
| Maintenance Worker | Maintenance, Equipment Tracking | Single tenant |
| Driver | Shipment status, safety warnings | Single tenant |
Key Features by Module
Inventory Module
- ✅ Master data management (SKU, name, description)
- ✅ Real-time quantity tracking
- ✅ Stock movement audit trail
- ✅ Low stock warnings
- ✅ Zone-based organization
- ✅ Barcode scanning
Pick & Pack Module
- ✅ Automated pick list generation
- ✅ Optimal route calculation
- ✅ Real-time picking progress
- ✅ Pack session tracking
- ✅ Integration with inventory
Routing Engine
- ✅ 3D coordinate system (X, Y, Z)
- ✅ Euclidean distance calculation
- ✅ Pre-computed pairwise distances
- ✅ Optimal path finding
- ✅ Routing weight optimization
Warehouse Map
- ✅ SVG-based floor plan editor
- ✅ Zone visualization
- ✅ Real-time heatmaps
- ✅ Driver/equipment tracking
- ✅ Safety overlay
Slotting AI
- ✅ Zone suitability scoring
- ✅ Movement velocity analysis
- ✅ Reorganization recommendations
- ✅ Heatmap generation
- ✅ Impact score calculation
Auto Assignment
- ✅ Multi-factor driver scoring
- ✅ Zone-based optimization
- ✅ Distance-based routing
- ✅ Capacity consideration
- ✅ Real-time suggestions
Maintenance
- ✅ Equipment maintenance tracking
- ✅ Scheduled tasks
- ✅ History and analytics
- ✅ Preventive alerts
Safety
- ✅ Incident reporting
- ✅ Safety zone visualization
- ✅ Compliance tracking
- ✅ Analytics
Equipment Tracking
- ✅ Location tracking (QR/RFID/manual)
- ✅ Real-time status
- ✅ History tracking
- ✅ Floor plan integration
Editions & Deployment
- Editions: Free, Pro, Enterprise (Enterprise includes Safety Pro, Intelligence, Audit, Werkstatt add-on)
- Deployment: Self-hosted or SaaS-ready
- Languages: DE / EN / BG
- Offline-first with caching and performance optimizations
Data Flow
mermaid
sequenceDiagram
participant User
participant Frontend
participant Supabase
participant Database
participant RLS
User->>Frontend: Action (e.g., Create Pick List)
Frontend->>Supabase: API Request
Supabase->>RLS: Check Tenant Access
RLS->>Database: Filter by tenant_id
Database->>RLS: Return Filtered Data
RLS->>Supabase: Authorized Data
Supabase->>Frontend: Response
Frontend->>User: Update UISecurity Model
- Row-Level Security (RLS): Database-level tenant isolation
- JWT Authentication: Secure token-based auth
- Tenant Context: Automatic tenant filtering
- Service Role: Secure backend operations only
- SSO Integration: Enterprise identity providers
Scalability
- Multi-Tenant: Unlimited tenants on single instance
- Horizontal Scaling: Supabase handles scaling
- Caching: Pre-computed distances and routes
- Optimization: Batch queries and efficient indexes
Integration Points
- SSO Providers: OIDC/SAML for enterprise auth
- Barcode Scanners: Web-based scanning API
- External APIs: RESTful API for integrations
- Webhooks: Event-driven integrations