How redatest/gparc works
GPARC is an IT asset and incident-management application. Users search, register, and manage equipment; report faults; track repairs; and consult dashboards or print intervention records. The repository provides a Node/SQLite web mode and a standalone Flask/SQLite mode. Administration covers reference data and equipment models, while an optional Oracle integration synchronizes enterprise data. The README also documents browser-only offline operation with localStorage and later reconnection. Frontend source is not sampled, so UI-to-API links reflect documented capabilities; internal frontend wiring is not inferred.
Main entry points: server.ts Web API · db.ts SQLite access and setup · components Browser UI · oracleSync.ts Oracle synchronization
Components 17
User interfaces
- Browser UI
src/components - Offline workspace
src/components - Photo presets
src/data/presets.ts
Asset operations
- Web API
server.ts - Standalone app
flask_app/app.py - Equipment records
server.ts - Fault and repair tracking
server.ts - Dashboard and reports
server.ts
Administration and sync
- Reference data
server.ts - Administration
server.ts - Oracle sync endpoints
server.ts - Oracle synchronization
server/oracleSync.ts
Persistence
- SQLite access and setup
server/db.ts - GPARC database
data/gparc.db - Browser storage
Other components
- IT staff
- Oracle database
Connections 23
- IT staff → Browser UI: uses
- Browser UI → Web API: requests data
- Browser UI → Offline workspace: works offline
- Offline workspace → Browser storage: persists locally
- Offline workspace → Web API: reconnects to
- Photo presets → Browser UI: provides images
- IT staff → Standalone app: runs standalone
- Standalone app → GPARC database: reads and writes
- Web API → Equipment records: handles requests
- Web API → Fault and repair tracking: handles requests
- Web API → Dashboard and reports: serves views
- Web API → Reference data: serves CRUD
- Web API → Administration: serves CRUD
- Web API → Oracle sync endpoints: serves sync
- Equipment records → SQLite access and setup: queries
- Fault and repair tracking → SQLite access and setup: queries
- Dashboard and reports → SQLite access and setup: queries
- Reference data → SQLite access and setup: queries
- Administration → SQLite access and setup: queries
- SQLite access and setup → GPARC database: reads and writes
- Oracle sync endpoints → Oracle synchronization: dispatches
- Oracle synchronization → GPARC database: imports and reads
- Oracle synchronization → Oracle database: synchronizes with