How johnram1975/allone-wms works
AllOne WMS is a multi-tenant warehouse and custody system for construction sites. Operators authenticate, select an organization and site, then manage workers and inventory, handle requests at the counter, and record returns and proof of delivery; platform staff manage organizations, plans, billing, and support. The graph combines README-documented capabilities with sampled route, service, and frontend evidence. Some domain routes and integrations were not sampled, so their connections are omitted or marked unverified.
Main entry points: api.js API client · App.jsx App routing · auth.py Login and access routes · models.py Domain models
Components 23
Operator interface
- App routing
frontend/src/App.jsx - Session context
frontend/src/AuthContext.jsx - Tenant context
frontend/src/TenantContext.jsx - API client
frontend/src/api.js - Inventory pages
frontend/src/pages/Insumos.jsx - Request pages
frontend/src/pages/RequisicaoNova.jsx - Counter service
frontend/src/pages/RequisicaoAtendimento.jsx - Signature capture
frontend/src/components/SignaturePad.jsx - Worker verification
frontend/src/pages/ColaboradorBiometria.jsx - Platform console
frontend/src/platform/PlatformOrgDetail.jsx
Warehouse operations
- Request endpoints
backend/app/routers/requisicoes.py - Request lifecycle
backend/app/requisicoes_service.py - Biometric device service
backend/app/biometric/service.py
Identity and platform
- FastAPI entry
backend/app/main.py - Login and access routes
backend/app/routers/auth.py - Authentication
backend/app/auth.py - Tenant and site access
backend/app/tenant.py
Persistence and services
- Domain models
backend/app/models/models.py - PostgreSQL access
backend/app/database.py - Redis client
backend/app/core/redis_client.py - PostgreSQL
Other components
- Browser / tablet
- Redis service
Connections 23
- Browser / tablet → App routing: uses
README.md - App routing → Session context: provides routes
frontend/src/App.jsx - App routing → Tenant context: wraps tenant
frontend/src/App.jsx - Session context → API client: calls
frontend/src/AuthContext.jsx - API client → FastAPI entry: sends API requests
README.md - FastAPI entry → Login and access routes: serves API routes
backend/app/main.py - Login and access routes → Authentication: uses authentication
backend/app/routers/auth.py - Login and access routes → Tenant and site access: checks tenant context
backend/app/routers/auth.py - Inventory pages → API client: requests inventory
- Request pages → API client: submits requests
- Counter service → API client: sends fulfillment
- Signature capture → Counter service: captures proof
- API client → Request endpoints: calls endpoints
- Request endpoints → Request lifecycle: delegates requests
- Request lifecycle → Domain models: reads and writes
backend/app/requisicoes_service.py - Worker verification → API client: uses API
frontend/src/pages/ColaboradorBiometria.jsx - API client → Biometric device service: calls device API
- Biometric device service → Domain models: persists device data
backend/app/biometric/service.py - Platform console → API client: uses API
frontend/src/platform/PlatformOrgDetail.jsx - Domain models → PostgreSQL access: maps tables
backend/app/models/models.py - PostgreSQL access → PostgreSQL: connects
backend/app/database.py - Redis client → Redis service: connects optionally
backend/app/core/redis_client.py - Browser / tablet → Platform console: opens platform console
README.md