How maduna2000/recycleprox works
Renovo Pro is a multi-tenant business operations system, with desktop and mobile clients plus dedicated guard and scale-station applications. A typical operator workflow signs in, records customers and purchases or sales, then manages stock, payments, cash-up and financial reporting. Separate workflows cover gate visitor registration, police records and scale orders. The tree documents these product areas, while sampled routes show tenant-scoped API calls into domain services and persistence. UI-to-API wiring and unsampled service internals are not asserted here.
Main entry points: prisma.ts Tenant database · tenantContext.ts Tenant context · route.ts Customer records · index.tsx Mobile clients
Components 21
Clients
- Web workspace
src/app/app/(modules)/layout.tsx - Mobile clients
mobile/app/(operator)/index.tsx - Guard client
guard-station/app/(guard)/index.tsx - Scale workspace
src/app/scale/page.tsx
Commerce
- Customer records
src/app/api/customers/route.ts - Purchases
src/app/api/purchases/route.ts - Sales
src/app/api/sales/route.ts
Finance and stock
- Cash-up
src/app/api/cashup/route.ts - Payments and float
src/app/api/payments/route.ts - Stock management
src/app/api/stock/on-hand/route.ts - Ledger and reports
src/app/api/ledger/profit-loss/route.ts
Specialist operations
- Scale orders
src/app/api/scale/orders/route.ts - Gate entries
src/app/api/gate/entries/route.ts - Police records
src/app/api/police-visits/route.ts
Platform services
- Offline workflows
src/lib/offline/sync.ts - Authentication
src/lib/services/authService.ts - Tenant context
src/lib/db/tenantContext.ts - Tenant database
src/lib/db/prisma.ts - Photo storage
src/lib/r2/index.ts - Receipt printing
src/app/api/print/slip/route.ts
Other components
- Staff operator
Connections 21
- Staff operator → Web workspace: uses
- Staff operator → Mobile clients: uses
- Staff operator → Guard client: uses
- Staff operator → Scale workspace: uses
- Web workspace → Authentication: signs in
- Mobile clients → Authentication: signs in
- Guard client → Gate entries: records visits
- Scale workspace → Scale orders: records orders
- Mobile clients → Scale orders: records orders
- Customer records → Tenant context: runs within
- Customer records → Tenant database: reads and writes
- Customer records → Tenant context: scopes request
- Purchases → Tenant context: scopes request
- Purchases → Tenant database: via service
- Cash-up → Tenant context: scopes request
- Cash-up → Tenant database: via service
- Police records → Tenant context: scopes request
- Police records → Tenant database: via service
- Offline workflows → Tenant database: caches locally
- Offline workflows → Photo storage: uploads photos
- Receipt printing → Tenant database: reads records