How karthikprasanna07/data-wiping-project works
WipeX is a prototype for selecting storage devices, confirming an irreversible wipe, and viewing progress and erasure certificates. The React app owns device selection and a local Aadhaar/OTP confirmation flow; its progress component streams wipe updates from Flask and offers PDF/JSON certificate downloads. Flask also exposes device discovery and server-side OTP routes, but the sampled frontend excerpt does not establish calls to those routes. The wipe stream and certificate generation are shown in one backend file; finer internal call relationships are omitted where the excerpts do not show them.
Main entry points: WipeProgress.js Wipe progress · index.js React entry · App.js Wipe workflow UI · app.py Device discovery
Components 12
React interface
- Wipe workflow UI
src/App.js - Wipe progress
src/WipeProgress.js
Flask services
- Flask API
app.py - Device discovery
app.py - Server OTP
app.py - Wipe stream
app.py - Certificate download
app.py
Application startup
- React entry
src/index.js - Web vitals
src/reportWebVitals.js
Other components
- Operator
- Host storage
- Browser runtime
Connections 8
- Operator → Wipe workflow UI: operates
src/App.js - React entry → Wipe workflow UI: renders
src/index.js - React entry → Web vitals: invokes
src/index.js - Wipe workflow UI → Wipe progress: renders
src/App.js - Wipe progress → Wipe stream: streams from
src/WipeProgress.js - Wipe progress → Certificate download: downloads from
src/WipeProgress.js - Browser runtime → React entry: runs
src/index.js - Device discovery → Host storage: inspects
app.py