Struggling to tailor your resume for specific job postings? I built an AI-powered Resume Optimizer that helps you analyze your resume against any job description using Google Gemini. Here's how I built it using the MEAN stack (MongoDB-free) with Angular standalone components, Tailwind CSS, and Googleβs Generative AI API.
π‘ Why I Built This
Every job role has unique expectations, but most resumes stay generic. I wanted to automate the process of matching resumes with job descriptions, highlighting what's missing, and suggesting improvementsβall with the power of AI.
π Tech Stack
Layer | Stack |
---|---|
Frontend | Angular 20, Standalone Components, Tailwind CSS, Signals, Reactive Forms |
Backend | Node.js, Express, Multer |
AI Engine | Google Gemini via @google/genai
|
Parsing |
pdf-parse and mammoth for file extraction |
π§ Features
- β Upload Resume (PDF or DOCX)
- β Upload or Paste Job Description
-
β Get AI analysis:
- Match Score
- Missing Keywords
- Tailored Suggestions
π Dark Mode Support
π± Fully Responsive UI
π§© System Architecture
[Angular UI] --> [Express API] --> [Gemini API]
|
[PDF/DOCX Parser]
π₯οΈ Frontend Highlights
- Standalone Angular Components
- Signals for local state (
resumeFile
,jdFile
, etc.) - Native control flow (
@if
,@else
) over structural directives - Reactive Forms for input validation
- Markdown rendering using
ngx-markdown
for AI response formatting
const form = fb.nonNullable.group({ jdText: '' });
const resumeFile = signal<File | null>(null);
const result = signal<string | null>(null);
π§ Backend Highlights
- File parsing using
pdf-parse
(PDF) andmammoth
(DOCX) - Gemini prompt format:
Compare the following resume and job description. Provide:
- Match score (0-100)
- Missing keywords
- Suggested improvements
- AI integration via
@google/genai
:
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
const response = await ai.models.generateContent({ model: 'gemini-2.5-flash', contents: prompt });
π How to Run It Locally
π Clone the Project
git clone https://github.com/manthanank/resume-optimizer.git
cd resume-optimizer
βοΈ Backend Setup
cd backend
npm install
cp .env.example .env
# Add your GEMINI_API_KEY
npm run dev
π Frontend Setup
cd frontend
npm install
ng serve
π Hosted Live (Demo)
- Frontend: https://resume-optimizer-app.vercel.app
- Backend API: https://resume-optimizer-api.vercel.app
π¦ Future Improvements
- π Auth for saving resume history
- π Editable resume templates
- π PDF download of feedback
- π Multi-language support
π License
MIT β Free to use and modify. Contributions welcome!
β¨ Final Thoughts
This project taught me how to combine real-time file processing with AI content generation in a full-stack TypeScript environment. Whether you're building something for HR, job seekers, or just love AIβthis app is a perfect side project to learn from.
π Want to try it?
π GitHub Repo
π Live Demo
Top comments (0)