Getting Started
Relevant source files
The following files were used as context for generating this wiki page:Resume Matcher is an application designed to help users create tailored resumes for specific job applications using AI-powered suggestions. The core workflow involves uploading a master resume, providing a job description, and allowing the AI to generate an optimized version of the resume that aligns with the job's requirements. The application can be run locally and supports various AI providers, including local models via Ollama and cloud-based services like OpenAI.
This guide provides a comprehensive walkthrough for setting up the Resume Matcher project for local development, from initial setup and configuration to understanding the core application flow. For more detailed architectural information, refer to the project's internal documentation, such as docs/backend-guide.md and docs/frontend-workflow.md.
Sources: README.md:17-26, SETUP.md:3-5, AGENTS.md:12-15
Prerequisites
Before starting, ensure the following tools are installed on your system. The application requires specific versions of Python and Node.js.
| Tool | Minimum Version | How to Check | Installation |
|---|---|---|---|
| Python | 3.13+ | python --version | python.org |
| Node.js | 22+ | node --version | nodejs.org |
| npm | 10+ | npm --version | Comes with Node.js |
| uv | Latest | uv --version | astral.sh/uv |
| Git | Any | git --version | git-scm.com |
Sources: SETUP.md:21-30, README.md:133-138
Installation
The installation process involves setting up the Python backend and the Next.js frontend in separate terminals.
Quick Start
For developers familiar with the required tools, these commands will get the application running quickly.
# 1. Clone the repository
git clone https://github.com/srbhr/Resume-Matcher.git
cd Resume-Matcher
# 2. Start the backend (Terminal 1)
cd apps/backend
cp .env.example .env # Create config from template and add API keys
uv sync # Install Python dependencies
uv run uvicorn app.main:app --reload --port 8000
# 3. Start the frontend (Terminal 2)
cd apps/frontend
npm install # Install Node.js dependencies
npm run dev # Start the dev server
Once both servers are running, the application is accessible at http://localhost:3000.
Sources: SETUP.md:46-60, INSTALL.md:14-25
Local Development Setup Flow
The following diagram illustrates the local setup process, which requires running the backend and frontend servers concurrently in two separate terminal sessions.
Sources: SETUP.md:46-60, 70-116
Configuration
Proper configuration of the AI provider is essential for the application's features to work. Configuration can be done by editing the backend's .env file or through the application's UI on the /settings page.
Sources: SETUP.md:118-121, apps/frontend/app/(default)/settings/page.tsx:18-20
AI Provider Options
The application supports both cloud-based AI services and a local-first option with Ollama.
The diagram below shows the decision flow for configuring an AI provider.
Sources: SETUP.md:123-176, INSTALL.md:73-94
The backend requires a .env file created from .env.example in the apps/backend directory. The table below lists the supported providers and the necessary configuration.
| Provider | LLM_PROVIDER | Example Model | LLM_API_KEY Required | Notes |
|---|---|---|---|---|
| Ollama | ollama | llama3.2 | No | Runs locally. Set LLM_API_BASE to http://localhost:11434. |
| OpenAI | openai | gpt-4o-mini | Yes | Get key from platform.openai.com. |
| Anthropic | anthropic | claude-3-5-sonnet-20241022 | Yes | Get key from console.anthropic.com. |
| Google Gemini | gemini | gemini-1.5-flash | Yes | Get key from aistudio.google.com. |
| OpenRouter | openrouter | anthropic/claude-3.5-sonnet | Yes | Get key from openrouter.ai. |
| DeepSeek | deepseek | deepseek-chat | Yes | Get key from platform.deepseek.com. |
Sources: SETUP.md:125-156, README.md:151-160, INSTALL.md:73-85
Other Environment Variables
The backend .env file also controls server behavior and communication with the frontend.
| Variable | Description | Default/Example |
|---|---|---|
FRONTEND_BASE_URL | The URL of the running frontend, required for PDF generation. | http://localhost:3000 |
CORS_ORIGINS | A list of allowed origins for Cross-Origin Resource Sharing. | ["http://localhost:3000", "http://127.0.0.1:3000"] |
HOST | The host address for the backend server. | 0.0.0.0 |
PORT | The port for the backend server. | 8000 |
Sources: SETUP.md:88-95, INSTALL.md:58-69
Project Architecture
The project is a monorepo containing a Python FastAPI backend and a Next.js frontend.
Resume-Matcher/
├── apps/
│ ├── backend/ # Python FastAPI backend
│ │ ├── app/
│ │ │ ├── main.py # Application entry point
│ │ │ ├── llm.py # AI provider integration
│ │ │ ├── routers/ # API endpoints
│ │ │ ├── services/ # Business logic
│ │ │ ├── schemas/ # Data models
│ │ │ └── prompts/ # LLM prompt templates
│ │ ├── data/ # Database storage (TinyDB JSON files)
│ │ └── pyproject.toml # Python dependencies
│ │
│ └── frontend/ # Next.js React frontend
│ ├── app/ # Pages (dashboard, builder, etc.)
│ ├── components/ # Reusable React components
│ ├── lib/ # Utilities and API client
│ └── package.json # Node.js dependencies
│
└── docker-compose.yml # Docker configuration
Sources: SETUP.md:275-299, AGENTS.md:31-48
High-Level System Flow
The diagram below shows the interaction between the user, frontend, backend, and external services.
Core Features
- Master Resume Management: Upload and manage a central master resume.
- AI-Powered Tailoring: Paste a job description to generate a resume optimized for that specific role.
- Resume Builder: A rich editor to modify AI-generated content, add/remove/reorder sections, and customize formatting.
- Cover Letter & Outreach Email Generation: Automatically create tailored cover letters and networking messages based on the resume and job description.
- Multiple Resume Templates: Choose between different layouts, such as single-column and two-column formats.
- PDF Export: Download the final tailored resume as a professional PDF.
- Multi-Language Support: The UI and generated content support multiple languages, including English, Spanish, Chinese, and Japanese.
Sources: README.md:100-127, AGENTS.md:237-243, apps/frontend/messages/en.json, apps/frontend/messages/zh.json