How maheshkarri07-lab/pharmamitra-app-v3 works
PHARMAMITRA is an offline Windows pharmacy billing and record-keeping application. The user workflow begins at sign-in, then supports billing and stock checks, with bills, summaries, backups, and records saved locally; settings and user administration provide operational controls. Electron’s preload bridge exposes renderer-facing operations to the main process, which owns local file access and PDF generation. The README documents product capabilities, but index.html was not sampled, so links from individual screens to bridge operations are unverified and omitted.
Main entry points: main.js Electron main process · index.html Sign-in and lock · preload.js Renderer API bridge
Components 15
Pharmacy workflow
- Sign-in and lock
index.html - Billing and H1
index.html - Stock and expiry
index.html - Doctors
index.html - Settings and users
index.html
Records and exports
- Calendar summaries
index.html - Order notes
index.html - Excel exports
index.html - Live data files
main.js - Period records
main.js - Backup files
main.js - PDF files
main.js
Desktop runtime
- Renderer API bridge
preload.js - Electron main process
main.js
Other components
- Pharmacy user
Connections 11
- Pharmacy user → Sign-in and lock: signs in
README.md - Pharmacy user → Billing and H1: creates bills
README.md - Pharmacy user → Calendar summaries: reviews summaries
README.md - Pharmacy user → Order notes: saves notes
README.md - Pharmacy user → Settings and users: configures access
README.md - Electron main process → Sign-in and lock: loads window
main.js - Renderer API bridge → Electron main process: invokes handlers
preload.js - Electron main process → Live data files: reads and writes
main.js - Electron main process → Backup files: writes backups
main.js - Electron main process → Period records: writes files
main.js - Electron main process → PDF files: renders PDFs
main.js