AI Powered Resume Builder
- Backend (FastAPI):
cd spacy-ner, activate venv,uvicorn api:app --reload --port 8000. SetGO_EXPORT_SERVICE_URLto the Go export service URL (defaulthttp://localhost:8001) for PDF/DOCX/cover-letter export. - Go export service (optional):
cd go-export-service,go run .(port 8001). If this service is not running, export endpoints return 503. - Frontend:
cd landit-ui,npm start.
- Frontend: Set
REACT_APP_API_URLto your deployed FastAPI URL (e.g.https://your-api.railway.app). Build and deploy (Vercel, Netlify, Railway, etc.). - Backend (FastAPI): Set
CORS_ORIGINSto your frontend URL(s), comma-separated (e.g.https://your-app.vercel.app). Localhost origins are always allowed. - Go export (optional): Deploy the Go service and set
GO_EXPORT_SERVICE_URLon FastAPI to its URL. - Firebase: In Firebase Console > Authentication > Settings > Authorized domains, add your production frontend domain (e.g.
your-app.vercel.app) so sign-in works in production.
| Check | Where |
|---|---|
No .env or secrets committed |
Run git status; ensure no spacy-ner/.env, landit-ui/.env are staged |
| Frontend env | REACT_APP_API_URL = your FastAPI URL; Firebase vars set in host (Vercel/Netlify vars) |
| Backend env | CORS_ORIGINS = frontend URL; DB vars (user, password, host, port, dbname); OPENAI_API_KEY; optional GO_EXPORT_SERVICE_URL |
| Firebase authorized domains | Add production frontend domain in Firebase Console |
| Backend health | After deploy, open https://your-api-url/health and confirm "status": "healthy" |