A modern, production-ready template for building full-stack React applications using React Router.
- 🚀 Server-side rendering
- ⚡️ Hot Module Replacement (HMR)
- 📦 Asset bundling and optimization
- 🔄 Data loading and mutations
- 🔒 TypeScript by default
- 🎉 TailwindCSS for styling
- 📖 React Router docs
Home Screen |
Resume Upload Screen |
Resume analyzer Screen |
Install the dependencies:
npm installStart the development server with HMR:
A small, focused React + TypeScript app that analyzes uploaded resumes for ATS compatibility and provides a visual score and summary.
This README explains: quick start, development workflow, testing, recommended file structure, and an automated (safe) restructuring script you can run locally.
- Framework: Vite + React + TypeScript
- Routing: React Router
- UI: TailwindCSS (optional presets present)
- PDF handling: client-side PDF-to-image utilities in
lib/
- Install dependencies
npm install- Start dev server (uses your default shell — PowerShell on Windows)
npm run dev- Build for production
npm run build- Run the production server (if available in scripts)
npm startIf you rely on Docker, see the Dockerfile and the scripts/ folder below for helpers.
- Input: PDF or TXT resume file(s) uploaded via the UI
- Output: ATS score, parsed text, visual summaries, and downloadable report
- Error modes: invalid file type, corrupted PDF, large files (handled in UI)
- Success criteria: UI accepts a file, shows a score and a parsed summary
This repo already contains many files; to make it easier to maintain we recommend a canonical layout. See docs/STRUCTURE.md for full descriptions. In short:
/
/app # source app code (already present)
/components
/routes
/welcome
root.tsx
/lib # small utilities, PDF helpers
/constants
/public
/scripts # dev/maintenance scripts (restructure helper included)
/docs # documentation (STRUCTURE.md)
package.json
tsconfig.json
vite.config.ts
To apply this layout safely, a PowerShell helper script is provided at scripts/restructure.ps1. It performs a dry-run by default and can apply moves when you pass -Apply.
Preview changes (recommended):
pwsh ./scripts/restructure.ps1 -DryRunApply changes (make sure you have a git commit or stash first):
pwsh ./scripts/restructure.ps1 -ApplyThe script is careful: it prints planned moves, verifies sources exist, and prompts before applying.
- Linting: add ESLint/Prettier if you want consistent formatting (not included by default)
- Type checking:
npm run buildwill surface TypeScript errors. Usetsc --noEmitfor fast checks. - Tests: add unit tests under
tests/and wire a runner (Jest / Vitest)
- A minimal CI pipeline should run: install, build, typecheck, and tests.
- Dockerfile exists for container builds; use
docker build -t resume-analyzer .and run withdocker run -p 3000:3000 resume-analyzer.
- If
npm run devfails with port or environment issues, ensure no other process is using port 5173 or updatevite.config.ts. - If PDF parsing fails, check
public/pdf.worker.min.mjsand the browser console for worker load errors.
- Create a branch per feature:
feat/<short-desc> - Make small, focused commits. Include tests for new logic.
docs/STRUCTURE.md— detailed recommended structure and migration planscripts/restructure.ps1— safe PowerShell script to preview and apply file moves
If you want, I can run the restructure script here (dry-run) and show the planned moves; tell me to proceed and I'll run it in your workspace.


