Inspiration
Good resume feedback usually costs $50 to $200 an hour. Fresh graduates and career switchers, who need it most, often can't afford it, and free tools tend to give vague advice. I wanted to make useful feedback available to everyone, with a fair paid upgrade for people who want more depth.
What it does
AI Resume & Portfolio Critic lets you paste a resume or upload a PDF, add a target role and an optional portfolio URL, and get instant AI feedback.
- Free tier: 3 short, personalised tips.
- Premium ($4.99 via PayPal Sandbox): an overall score out of 100, strengths, critical weaknesses, before/after bullet rewrites, ATS keyword gaps for the target role, portfolio feedback and a 30-day action plan.
How PayPal is central to the project
- The PayPal Smart Buttons (JavaScript SDK, Sandbox) handle checkout for the premium upgrade.
- After payment, the user pastes the Order ID into the app. My Python backend gets an OAuth token and calls PayPal's Orders API to confirm the order is COMPLETED, in USD, and for at least the premium price.
- Premium unlocks only after PayPal's servers confirm the payment, so the paywall can't be bypassed by editing the page in the browser.
- The detailed premium prompt is never sent to the AI until payment is verified.
How I built it
- Frontend and app logic: Python and Streamlit
- AI: Google Gemini API, with automatic retries and fallback models for busy periods
- Payments: PayPal JavaScript SDK plus the PayPal Orders REST API (Sandbox)
- Extras: pypdf for PDF resumes and BeautifulSoup to read portfolio websites
- API keys are loaded from secrets and are never stored in the repository.
Challenges I ran into
- PayPal Sandbox checkout kept declining until I used US-based sandbox business and buyer accounts. Mismatched countries and currencies cause errors.
- Streamlit can't receive JavaScript callbacks from the PayPal iframe, so I designed an Order ID verification step. It's also more secure than trusting the browser.
- AI model names and availability changed during development, so I built in retries and fallbacks.
Accomplishments that I'm proud of
A complete, working freemium product with real server-side payment verification, built as a first-time hackathon participant.
What I learned
How the PayPal Sandbox, Smart Buttons and Orders API fit together, how to keep API keys out of a public repo, and how to make AI features resilient.
Limitations and what's next
Premium status currently lasts for the browser session only, and the Order ID is pasted manually. Next steps are automatic unlocking through a
Built With
- beautiful-soup
- google-gemini
- javascript
- paypal
- paypal-sandbox
- pypdf
- python
- rest-api
- streamlit