How aravind56565657/doc-to-data works
Text Aura is a React frontend for document extraction and review, with separate screens for uploaded-document lookup, logs, and template administration. The main workflow is upload a document, send it for processing, then review and edit extracted information; review also supports voice commands, template-based refinement, and rejection actions. The frontend calls backend services directly. The README only documents Create React App, so product capabilities here are inferred from the supplied source excerpts; omitted portions limit certainty about some review-stage wiring.
Main entry points: App.js Route Application · ExtractResult.js Review Extraction · DocumentUpload.js Upload Document · DocumentView.js Browse Documents
Components 10
Application Shell
- Route Application
src/App.js
Document Workflow
- Upload Document
src/components/DocumentUpload/DocumentUpload.js - Review Extraction
src/components/DocumentUpload/ExtractResult.js
Records and Logs
- Browse Documents
src/components/DocumentUpload/DocumentView.js - View Logs
src/components/DocumentUpload/LogViewer.js
Template Administration
- Create Template
src/components/DocumentUpload/TemplateManager.js - List Templates
src/components/DocumentUpload/TemplateList.js
Other components
- User
- OCR Backend
- Template API
Connections 21
- User → Route Application: uses
- Route Application → Upload Document: routes to
- Route Application → Review Extraction: routes to
- Route Application → Browse Documents: routes to
- Route Application → View Logs: routes to
- Route Application → Create Template: routes to
- Route Application → List Templates: routes to
- Upload Document → OCR Backend: posts document
- OCR Backend → Upload Document: returns extraction
- Upload Document → Review Extraction: navigates with result
- Review Extraction → OCR Backend: posts edits
- Review Extraction → OCR Backend: sends voice command
- Review Extraction → OCR Backend: requests refinement
- Review Extraction → OCR Backend: posts rejection
- Browse Documents → OCR Backend: queries records
- Browse Documents → OCR Backend: requests PDF
- View Logs → OCR Backend: fetches logs
- Create Template → Template API: creates template
- Create Template → View Logs: signals refresh
- List Templates → Template API: fetches templates
- List Templates → OCR Backend: fallback fetch