How sujanirig-web/suman_mobile-entry_book works
This is a mobile repair-entry and tracking system. Staff use the browser app to authenticate, browse and search repair records, create or edit entries, change repair status, and review change logs. The sampled app code uses Firebase for authentication and repair data, and sends search requests to a Worker endpoint; the repository also contains a separate Express JSON-file CRUD server. The excerpts show these as distinct backend paths, so no connection between them is asserted. Some UI and integration details are unsampled.
Main entry points: app.js Repair records · server.js Repairs API · repairs.json Repair JSON file
Components 15
Browser app
- Repair app
app.js - Sign-in
app.js
Repair workflow
- Repair dashboard
app.js - Date views
app.js - Repair records
app.js - Serial numbering
app.js - Status updates
app.js - Change log
app.js - Record search
app.js
Cloud services
- Firebase Auth
- Cloud Firestore
- Search Worker
Local API
- Repairs API
server.js - Repair JSON file
repairs.json
Other components
- Repair staff
Connections 19
- Repair staff → Repair app: uses
- Repair app → Sign-in: presents
app.js - Sign-in → Firebase Auth: signs in
app.js - Repair staff → Repair dashboard: views
- Repair dashboard → Cloud Firestore: subscribes to records
app.js - Repair staff → Date views: selects dates
- Date views → Cloud Firestore: filters records
app.js - Repair staff → Repair records: enters records
- Repair records → Cloud Firestore: creates or edits
app.js - Serial numbering → Cloud Firestore: reads counters
app.js - Repair staff → Status updates: changes status
- Status updates → Cloud Firestore: updates status
app.js - Repair staff → Change log: reviews changes
- Change log → Cloud Firestore: reads and writes
app.js - Repair staff → Record search: searches records
- Record search → Search Worker: posts query
app.js - Status updates → Search Worker: syncs updates
app.js - Repair records → Search Worker: syncs edits
app.js - Repairs API → Repair JSON file: reads and writes
server.js