How engineeringdepsethachon/cmms-frontend works
This is a standalone CMMS frontend backed by a Google Apps Script API and Google Sheets. Users enter through the login or request pages, then use role-specific pages for maintenance, inventory, planning, monitoring, reporting, and administration. The frontend bridge sends JSON requests to the backend, which accesses Sheets and also supports LINE webhook/notification workflows. The README documents page capabilities and the overall API/storage flow; backend implementation details were not sampled, so finer backend call relationships are omitted.
Main entry points: api.js API bridge · รหัส.gs Apps Script API · Login.html Universal login · Index.html Maintenance request
Components 20
Frontend access
- Universal login
Login.html - Role-based home
Home.html
Maintenance workflow
- Maintenance request
Index.html - Job monitoring
Monitor.html - Maintenance technicians
MaintenanceTech.html - Engine-room technicians
EngineRoom.html - General technicians
GeneralTech.html - Job handover
Handover.html - Work approval
Approve.html
Operations and reporting
- Parts inventory
Inventory.html - Preventive maintenance
PM.html - KPI dashboard
Dashboard.html
Administration
- Electronic signatures
Signatures.html - Role configuration
RoleConfig.html
API and data
- API bridge
api.js - API configuration
config.js - Apps Script API
รหัส.gs - Google Sheets
Other components
- CMMS users
- LINE service
Connections 21
- CMMS users → Universal login: sign in
README.md - CMMS users → Maintenance request: submit request
README.md - CMMS users → Job monitoring: track jobs
README.md - Universal login → Role-based home: enter portal
- Maintenance request → API bridge: send requests
README.md - Job monitoring → API bridge: request status
README.md - Maintenance technicians → API bridge: manage jobs
README.md - Engine-room technicians → API bridge: manage jobs
README.md - General technicians → API bridge: manage jobs
README.md - Job handover → API bridge: close jobs
README.md - Work approval → API bridge: approve jobs
README.md - Parts inventory → API bridge: manage stock
README.md - Preventive maintenance → API bridge: manage plans
README.md - KPI dashboard → API bridge: request reports
README.md - Electronic signatures → API bridge: manage signatures
README.md - Role configuration → API bridge: configure access
README.md - API bridge → API configuration: reads URL
api.js - API bridge → Apps Script API: POST JSON
README.md - Apps Script API → Google Sheets: read and write
README.md - LINE service → Apps Script API: webhook
README.md - Apps Script API → LINE service: send notifications
README.md