A web application that allows users to upload PDF files and convert them to text format.
.
├── backend/ # Python FastAPI backend
│ └── main.py # Backend server implementation
├── frontend/ # React frontend
│ └── project/ # Frontend application
└── requirements.txt # Python dependencies
-
Create a Python virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Python dependencies:
pip install -r requirements.txt
-
Start the backend server:
cd backend uvicorn main:app --reloadThe backend will run on http://localhost:8000
-
Navigate to the frontend directory:
cd frontend/project -
Install Node.js dependencies:
npm install
-
Start the development server:
npm run dev
The frontend will run on http://localhost:5173
- Upload up to 2 PDF files
- Convert PDFs to text format
- View and download converted text files
- Modern UI with drag-and-drop support
- POST
/api/convert: Upload and convert PDF files- Accepts up to 2 PDF files
- Returns converted text content and metadata