This repository contains one project with two apps:
apps/web— Next.js portfolio (AI chat + Resume Builder trial UI)apps/resume-api— your Python resume builder exposed as a FastAPI service
Create these files:
apps/web/.env.local
OPENAI_API_KEY="YOUR_KEY"
RESUME_BUILDER_BACKEND_URL="http://localhost:8000"
# Optional:
# OPENAI_MODEL="gpt-4.1-mini"apps/resume-api/.env
OPENAI_API_KEY="YOUR_KEY"The portfolio will call the Python API at
POST /trial.
From repo root:
npm install
npm run devIn another terminal (or before npm run dev), ensure your Python deps are installed:
cd apps/resume-api
pip install -r requirements_server.txtdocker compose up -d --build- Trial gating is cookie-based (1 free resume). Add Stripe webhook + DB credits for production paywall.