DEV Community

Manthan Ankolekar
Manthan Ankolekar

Posted on

πŸš€ Building an AI-Powered Resume Optimizer with Angular, Node.js & Gemini

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]
Enter fullscreen mode Exit fullscreen mode

πŸ–₯️ 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);
Enter fullscreen mode Exit fullscreen mode

πŸ”§ Backend Highlights

  • File parsing using pdf-parse (PDF) and mammoth (DOCX)
  • Gemini prompt format:
Compare the following resume and job description. Provide:
- Match score (0-100)
- Missing keywords
- Suggested improvements
Enter fullscreen mode Exit fullscreen mode
  • 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 });
Enter fullscreen mode Exit fullscreen mode

πŸš€ How to Run It Locally

πŸ”— Clone the Project

git clone https://github.com/manthanank/resume-optimizer.git
cd resume-optimizer
Enter fullscreen mode Exit fullscreen mode

βš™οΈ Backend Setup

cd backend
npm install
cp .env.example .env
# Add your GEMINI_API_KEY
npm run dev
Enter fullscreen mode Exit fullscreen mode

🌐 Frontend Setup

cd frontend
npm install
ng serve
Enter fullscreen mode Exit fullscreen mode

🌐 Hosted Live (Demo)


πŸ“¦ 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)