Skip to content

OnkarBhattacharya/PortfolioForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

230 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Quick Start

pnpm i
pnpm dev

🔑 Environment Variables (Production)

Critical for AI features: Set GOOGLE_GENAI_API_KEY.

Firebase App Hosting (Prod)

  1. Get API key from Google AI Studio.
  2. Google Cloud Console → Secret Manager → Create secret GOOGLE_GENAI_API_KEY.
  3. apphosting.yaml already mounts it → firebase apps:deploy.

Local Dev

cp .env.example .env.local
# Edit .env.local with your GOOGLE_GENAI_API_KEY
pnpm dev

CI (GitHub Actions)

Repo Settings → Secrets → Add GOOGLE_GENAI_API_KEY.

See TODO.md high priority for Stripe/Firestore setup.

🧪 Test APIs

# CV Parser
curl -X POST http://localhost:3000/api/cv-parser \
  -F 'cvFile=@path/to/cv.pdf' \
  -F 'userId=test-user'

# Content Suggester
curl -X POST http://localhost:3000/api/content-suggester \
  -H 'Content-Type: application/json' \
  -d '{"text":"My project","contentType":"description"}'

📊 Console Errors Fixed

  • 500 on AI APIs: Clearer msgs; validate GOOGLE_GENAI_API_KEY.
  • COOP window.close: Handled in next.config.js.

REST unchanged.

About

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages