A monorepo application to compare two PDF files and show their text differences. Built with React (frontend) and Node.js/Express (backend).
- Upload two PDF files and see a highlighted text diff
- Simple, modern UI
- Fast backend processing using pdf-parse and diff
apps/
frontend/ # React + Vite frontend
backend/ # Node.js/Express backend (TypeScript)
- Node.js (v20+ recommended)
- npm
From the project root:
npm install
cd apps/frontend && npm install
cd ../backend && npm install
From the project root:
npm run dev
- Frontend: http://localhost:5173
- Backend API: http://localhost:3001
- Open the frontend in your browser.
- Upload two PDF files.
- Click "Compare" to see the text diff highlighted.
- To change ports, edit the scripts or server configs in
apps/frontend
andapps/backend
. - For visual PDF diffing, further enhancements are possible (see Issues/TODO).
MIT