How yuvasri2809/ocr-ai works
This repository is currently a foundation for an OCR-based PDF document generator, not an implemented document-processing pipeline. The demonstrated user workflow is opening the React app, selecting “Check Backend,” and receiving the FastAPI health status. The README lists upload, OCR, layout analysis, and PDF generation as planned capabilities; no implementation for those stages is present in the sampled source or tree. The graph therefore shows only the working health-check path; unsampled backend subsystems are not inferred.
Main entry points: App.jsx App and health check · api.js Health API client · main.jsx React entry · main.py FastAPI health endpoints
Components 5
Frontend
- React entry
frontend/src/main.jsx - App and health check
frontend/src/App.jsx - Health API client
frontend/src/services/api.js
Backend API
- FastAPI health endpoints
backend/app/main.py
Other components
- User
Connections 4
- React entry → App and health check: renders
frontend/src/main.jsx - User → App and health check: checks backend
frontend/src/App.jsx - App and health check → Health API client: calls
frontend/src/App.jsx - Health API client → FastAPI health endpoints: requests health
frontend/src/services/api.js