How hardikjp7/resumematcher-ats works
Project type and purpose
• This is a single-page AI-powered web application built with Streamlit (“app.py”) that lets users paste a job description, upload a PDF resume, and receive structured AI feedback on how well the resume matches the JD.
• There is no database or microservices—just a simple monolithic Python app that interfaces with an external AI service (Google Generative AI).
File structure
• Top level:
• .env → stores environment variables (e.g., GOOGLE_API_KEY)
• app.py → the entire Streamlit UI and business logic
• requirements.txt → Python dependencies (Streamlit, PDF parser, HTTP client, etc.)
• README.md, LICENSE
• No subdirectories—structure implies a single deployable component.
Key insights from the README
• Core workflow:
1. User provides job description (text area)
2. User uploads PDF resume
3. App extracts text from PDF
4. App constructs a JSON prompt (JD + resume text)
5. App calls Google Generative AI REST API
6. App parses the JSON response and renders: “JD Match %,” “Missing Keywords,” “Profile Summary”
• Relies on a valid Google API key in .env.
Components
a. Main components
• User’s Web Browser
• Streamlit Server (app.py)
– UI Module (text input, file uploader, result display)
– PDF Parser Module (e.g., PyPDF2 or similar)
– Prompt Builder Module
– API Client Module (HTTP client to Google AI)
• External Service: Google Generative AI API
• Configuration Store (.env)
b. Relationships & data flows
1. Browser ←→ Streamlit Server over HTTP/WS (UI interactions)
2. File upload stream to PDF Parser → extracted plain text
3. Prompt Builder aggregates JD + resume text → JSON payload
4. API Client Module → HTTPS call to Google AI → JSON response
5. UI Module ← parsed response → rendered in browser
c. Architectural patterns/design principles
• Monolithic single-process application
• Clear separation of concerns in code: UI vs. parsing vs. API integration
• Externalize secrets/config in .env
d. Technologies & frameworks
• Streamlit (UI & server)
• Python libraries: PyPDF2 (or pdfplumber), requests (or google-cloud SDK)
• Google Generative AI REST endpoint
• dotenv or os.environ for config
Detail level
• Even though the app is small, break it into at least five components: UI, PDF parsing, prompt construction, API client, external AI.
• Flow of data (resume PDF → text → JSON prompt → AI → JSON response → rendered view).