How kauangabrielcardososilva7890-afk/teste works
Digicopy is a desktop business-management system for sales, rentals, printer outsourcing, customer records, and finance. The main user workflow is operating the ERP through its application UI and managing domain records; the excerpts show customer CRUD and sales/quote views, but not the full navigation or save-to-storage path. The repository also contains automation patches, local/cloud synchronization, and Firebird integration. Several subsystems are represented by patch filenames and headers rather than inspected implementation, so uncertain connections are omitted; the cloud and Firebird paths are shown only where excerpts support them.
Main entry points: app.js ERP application · main.js Electron runtime · index.js Cloud API · vendas_patch.js Sales and orders
Components 18
Desktop and local data
- ERP application
app.js - Electron runtime
main.js - Local persistence
indexeddb_persistence_patch.js - Firebird access
main.js
Business operations
- Customer records
clientes_patch.js - Sales and orders
vendas_patch.js - Quotes and receipts
notinha_patch.js - Rental contracts
locacao_contratos_patch.js - Service calls
locacao_chamados_fix_patch.js - Finance and stock
automacoes_financeiro_estoque_patch.js
Operational automation
- Business automations
automacoes_procedures_operacionais_patch.js - Sales automations
automacoes_vendas_fiscal_auxiliares_patch.js
Synchronization and cloud
- Legacy cloud sync
sync_client.js - Firebase transport
firebase_client.js - Incremental sync engine
cloudflare_data_sync_patch.js - Cloud API
cloudflare-worker/src/index.js - D1 database
Other components
- ERP user
Connections 13
- ERP user → ERP application: uses
app.js - ERP application → Customer records: manages customers
- ERP application → Sales and orders: manages sales
- ERP application → Quotes and receipts: views quotes
- ERP application → Electron runtime: requests Firebird
- ERP application → Firebird access: extracts data
app.js - Electron runtime → Firebird access: queries
main.js - ERP application → Local persistence: persists data
- Business automations → Finance and stock: automates operations
- Sales automations → Sales and orders: supports sales
- Legacy cloud sync → Firebase transport: uses transport
sync_client.js - Incremental sync engine → Cloud API: synchronizes with
- Cloud API → D1 database: reads and writes
cloudflare-worker/src/index.js