How vishal-dev999/recylink works
RecyLink connects field collectors with authorized recyclers through lot intake, matching, claim, weighing, consent, and verified completion. The README describes the mobile app’s offline queue, local image classification, multilingual audio, and later synchronization; the supplied tree does not include its Flutter runtime source, so those mobile components use the enclosing mobile-app path and their internal wiring is not inferred. Backend routes and lot-service behavior are represented from sampled source; other documented backend capabilities are shown without asserting unsampled call paths.
Main entry points: router.py API Router · lots.py Lot Lifecycle Service · mobile-app Mobile App · database.py Application Database
Components 21
Field App
- Mobile App
mobile-app - Offline Lot Queue
mobile-app - On-Device Classifier
mobile-app
Backend API
- API Application
backend-api/app/main.py - API Router
backend-api/app/api/v1/router.py - Authentication
backend-api/app/api/v1/endpoints/auth.py - Live Events
backend-api/app/api/v1/endpoints/ws.py - WebSocket Fan-Out
backend-api/app/core/ws_manager.py - Application Database
backend-api/app/database.py
Lot Lifecycle
- Lot Routes
backend-api/app/api/v1/endpoints/lots.py - Lot Lifecycle Service
backend-api/app/services/lots.py - Recycler Matching
backend-api/app/ml/ranker.py
Trust And Insights
- Pricing Service
backend-api/app/services/pricing.py - Price Trends
backend-api/app/ml/price_engine.py - Weighing Fraud Checks
backend-api/app/ml/fraud.py - Compliance And Ledger
backend-api/app/api/v1/endpoints/compliance.py - Safety Guidance
backend-api/app/api/v1/endpoints/safety.py - Spoken Prompts
backend-api/app/api/v1/endpoints/audio.py - Fraud Routes
backend-api/app/api/v1/endpoints/fraud.py
Other components
- Collector
- Recycler
Connections 25
- Collector → Mobile App: uses
- Recycler → Mobile App: uses
- Mobile App → On-Device Classifier: classifies locally
- Mobile App → Offline Lot Queue: queues offline
- Offline Lot Queue → Mobile App: syncs when online
- Mobile App → API Application: syncs and requests
- API Application → API Router: mounts routes
- API Router → Authentication: dispatches
- API Router → Lot Routes: dispatches
- API Router → Compliance And Ledger: dispatches
- API Router → Safety Guidance: dispatches
- API Router → Spoken Prompts: dispatches
- API Router → Fraud Routes: dispatches
- API Router → Live Events: dispatches
- Authentication → Application Database: reads and writes
- Lot Routes → Lot Lifecycle Service: invokes lifecycle
- Lot Lifecycle Service → Application Database: reads and writes
- Lot Lifecycle Service → Pricing Service: gets market band
- Lot Lifecycle Service → Recycler Matching: ranks recyclers
- Lot Lifecycle Service → Weighing Fraud Checks: assesses weighing
- Lot Lifecycle Service → WebSocket Fan-Out: broadcasts lifecycle events
- Live Events → WebSocket Fan-Out: manages connections
- Pricing Service → Price Trends: summarizes trends
- Compliance And Ledger → Application Database: serves traceability records
- Fraud Routes → Application Database: serves fraud records