How baoddc/test-kho works
DDC’s Kho Phôi Cuộn is a warehouse-management web application, also packaged for mobile and desktop. The principal workflow is staff entering the application, recording or reviewing inventory activity for coil blanks, tole, and sheet goods, then using operational reports. The README also identifies authentication, 5S/HSE, Excel exchange, and voice recognition as capabilities. Frontend implementation excerpts were not provided, so feature-to-data-layer links are limited to relationships documented in the README; the Cloudflare worker is represented as a separate HSE storage service without an asserted caller.
Main entry points: index.html Page entry · supabase-data-engine.js Supabase data engine · xg Coil inventory · tole Tole inventory
Components 15
Web application
- Page entry
pages/index.html - Authentication
assets/js/dang_nhap.js - Desktop host
dist-app/main.js - Android host
android/app/src/main/java/com/ddc/khophoicuon/MainActivity.java
Inventory operations
- Coil inventory
assets/js/xg - Tole inventory
assets/js/tole - Sheet inventory
assets/js/pl
Operations and reporting
- 5S and HSE
assets/js/5s - Inventory reports
assets/js/xg/xg-bieu-do.js - Excel exchange
assets/js/xg
Shared services
- Supabase data engine
assets/js/core/supabase-data-engine.js - Supabase
- Voice recognition
assets/js/components/voice-assistant.js - HSE photo storage
cloudflare-r2/worker.js
Other components
- Warehouse staff
Connections 15
- Warehouse staff → Page entry: opens
README.md - Page entry → Authentication: supports login
README.md - Page entry → Coil inventory: navigates to
README.md - Page entry → Tole inventory: navigates to
README.md - Page entry → Sheet inventory: navigates to
README.md - Page entry → 5S and HSE: navigates to
README.md - Page entry → Inventory reports: navigates to
- Coil inventory → Supabase data engine: uses engine
- Tole inventory → Supabase data engine: uses engine
- Sheet inventory → Supabase data engine: uses engine
- Supabase data engine → Supabase: accesses backend
README.md - Warehouse staff → Excel exchange: imports or exports
README.md - Warehouse staff → Voice recognition: uses voice
README.md - Desktop host → Page entry: hosts app
- Android host → Page entry: hosts app