Skip to content

Milan323-debug/Ai_Resume_Analyzer

Repository files navigation

Welcome to React Router!

A modern, production-ready template for building full-stack React applications using React Router.

Open in StackBlitz

Features

  • 🚀 Server-side rendering
  • ⚡️ Hot Module Replacement (HMR)
  • 📦 Asset bundling and optimization
  • 🔄 Data loading and mutations
  • 🔒 TypeScript by default
  • 🎉 TailwindCSS for styling
  • 📖 React Router docs

Web App Interface Screenshots

Screenshot 2025-08-16 152200
Home Screen
Screenshot 2025-08-16 152200
Resume Upload Screen
Screenshot 2025-08-16 152200
Resume analyzer Screen

Getting Started

Installation

Install the dependencies:

npm install

Development

Start the development server with HMR:

Resume Analyzer — README

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.

Repo quick facts

  • Framework: Vite + React + TypeScript
  • Routing: React Router
  • UI: TailwindCSS (optional presets present)
  • PDF handling: client-side PDF-to-image utilities in lib/

Quick start

  1. Install dependencies
npm install
  1. Start dev server (uses your default shell — PowerShell on Windows)
npm run dev
  1. Build for production
npm run build
  1. Run the production server (if available in scripts)
npm start

If you rely on Docker, see the Dockerfile and the scripts/ folder below for helpers.

Project contract (tiny)

  • 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

Recommended file structure

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.

How to run the restructure script (dry-run first)

Preview changes (recommended):

pwsh ./scripts/restructure.ps1 -DryRun

Apply changes (make sure you have a git commit or stash first):

pwsh ./scripts/restructure.ps1 -Apply

The script is careful: it prints planned moves, verifies sources exist, and prompts before applying.

Development notes

  • Linting: add ESLint/Prettier if you want consistent formatting (not included by default)
  • Type checking: npm run build will surface TypeScript errors. Use tsc --noEmit for fast checks.
  • Tests: add unit tests under tests/ and wire a runner (Jest / Vitest)

CI / Deployment

  • A minimal CI pipeline should run: install, build, typecheck, and tests.
  • Dockerfile exists for container builds; use docker build -t resume-analyzer . and run with docker run -p 3000:3000 resume-analyzer.

Troubleshooting

  • If npm run dev fails with port or environment issues, ensure no other process is using port 5173 or update vite.config.ts.
  • If PDF parsing fails, check public/pdf.worker.min.mjs and the browser console for worker load errors.

Contribution

  • Create a branch per feature: feat/<short-desc>
  • Make small, focused commits. Include tests for new logic.

Files added in this change

  • docs/STRUCTURE.md — detailed recommended structure and migration plan
  • scripts/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.

About

One-line Resume Analyzer — a Vite + React + TypeScript app that scores uploaded resumes (PDF/TXT) for ATS compatibility and shows parsed text, visual summaries, and actionable suggestions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors