Project split for separate backend and frontend deployment.
This repo includes render.yaml, so the easiest path is Render Blueprint deployment.
- Push this repo to GitHub.
- In Render, choose New > Blueprint.
- Select this repo and apply the blueprint.
- Add the secret value for
GEMINI_API_KEY. - After deployment, open
/api/healthon the Render URL.
Manual settings if you create a Web Service instead:
Root directory: backend
Build command:
pip install -r requirements.txt && python -m spacy download en_core_web_smStart command:
gunicorn app:appSet PYTHON_VERSION to 3.11.11. Set GEMINI_API_KEY and SECRET_KEY in Render. If the frontend is hosted on Vercel, set FRONTEND_ORIGIN to the Vercel URL.
Vercel root directory: frontend
Build command:
npm run buildOutput directory:
distSet this Vercel environment variable:
HIREMATRIX_API_BASE=https://your-render-service.onrender.comThe frontend build writes that value to dist/config.js, and the browser uses it for all /api, /sample, and /reports calls.
After Vercel gives you a URL, update Render's FRONTEND_ORIGIN environment variable to that URL.