The project is compatible with deployment platforms such as Render. The repository includes a render.yaml configuration file.
For deployment, ensure the following are configured:
- database environment variables
PYTHON_KEYif protected routes are usedGEMINI_API_KEYfor prompt generationRESEND_API_KEYfor email sendingBASE_URLfor environment-aware metadataALLOWED_ORIGINSwith the exact frontend origin(s) that will call the API from the browser
Deployment gotcha: CORS will block browser requests unless the frontend URL is explicitly allowed. Before deploying, add the production frontend URL to
ALLOWED_ORIGINS(for example,https://your-app.example.com). If you use a different subdomain or preview URL, include that exact origin as well.
- Set all required environment variables
- Ensure PostgreSQL is available and reachable
- Install Python dependencies
- Run the application with Uvicorn or the deployment platform's startup command
- Verify core endpoints such as
/healthand/docs
Because the app depends on external services and a database, deployment should be treated as a full-stack environment rather than a simple static app.