How sujanirig-web/relife-entry-book works
RE-LiFE is a mobile repair-entry and repair-record management app. Staff use the browser app to enter and review repairs, navigate records by date, search, inspect business totals, and view change logs; repair photos can be uploaded. The browser app also synchronizes search records through a Worker API, which protects staff-only endpoints and connects to Algolia and ImgBB. The excerpts show these responsibilities but omit much of app.js, so links for unsampled repair operations are not asserted.
Main entry points: app.js Repair app · index.js API router
Components 16
Staff app
- Repair app
app.js - Repair entry
app.js - Repair records
app.js - Date navigation
app.js - Repair search
app.js - Revenue and due
app.js - Change logs
app.js - Photo handling
app.js
Worker API
- API router
worker/index.js - Staff verification
worker/index.js
External services
- Firebase auth
- Firestore
- Algolia index
- ImgBB
- Google signing keys
Other components
- Staff member
Connections 15
- Staff member → Repair app: uses
- Repair app → Repair entry: presents
app.js - Repair app → Repair records: manages
app.js - Repair app → Date navigation: navigates
app.js - Repair app → Repair search: searches via
app.js - Repair app → Revenue and due: displays
app.js - Repair app → Change logs: loads and writes
app.js - Repair app → Photo handling: previews
app.js - Repair app → Firebase auth: gets tokens
app.js - Repair app → Firestore: reads and writes
app.js - Repair app → API router: calls endpoints
app.js - API router → Staff verification: guards routes
worker/index.js - Staff verification → Google signing keys: fetches keys
worker/index.js - API router → Algolia index: searches and updates
worker/index.js - API router → ImgBB: uploads images
worker/index.js