How measvuthy168/cm_pro works
CM_Pro is a browser-based credit-management PWA. Its apparent user journey is sign-in to a home dashboard and then operational pages such as arrears, customer search, loan calculation, and credit reports; administrators also have management tools. The tree shows these product areas, but the README is empty and most page scripts were not sampled, so their internal call flow and backend data paths cannot be verified. The evidenced internals include API helpers, localization, session handling, and service-worker caching and push notifications.
Main entry points: index.html Home dashboard · service-worker.js Offline and push worker · i18n.js Translation runtime · login.html Sign in
Components 24
App entry
- Sign in
login.html - Home dashboard
index.html
Credit operations
- Arrears
pages/arrears/index.html - Customer search
pages/customers/index.html - Loan calculator
pages/loanCalculate/index.html - Retirement
pages/retirement/index.html - Spot check
pages/spotcheck/index.html - Average turnover
pages/turnover/index.html
Reports and data
- Credit reports
pages/creditreport - Master data
pages/masterdata - Officer tasks
pages/officertask/index.html - Land classification
pages/landClassisfy/index.html
Administration
- Admin tools
pages/admin
Shared platform
- Settings
pages/settings - Notifications
pages/notifications/index.html - API client
config/api.js - Session timeout
config/session.js - Push subscription
config/push.js - Offline and push worker
service-worker.js - Pending request store
service-worker.js - Translation runtime
shared/i18n.js - Translation dictionaries
shared/i18n - Top bar
shared/topbar.js
Other components
- Credit officer
Connections 16
- Credit officer → Sign in: signs in
- Sign in → Home dashboard: opens home
- Home dashboard → Arrears: opens feature
- Home dashboard → Customer search: opens feature
- Home dashboard → Loan calculator: opens feature
- Home dashboard → Retirement: opens feature
- Home dashboard → Spot check: opens feature
- Home dashboard → Average turnover: opens feature
- Home dashboard → Credit reports: opens reports
- Home dashboard → Master data: opens data
- API client → Offline and push worker: registers
config/api.js - Push subscription → Offline and push worker: registers
config/push.js - Offline and push worker → Pending request store: stores pending data
service-worker.js - Offline and push worker → Notifications: delivers push
- Translation runtime → Translation dictionaries: registers strings
shared/i18n/features.js - Translation runtime → Top bar: translates dynamic content
shared/i18n.js