cinematch-api / README.md
jadzoghaib's picture
Update README.md
ec189fe verified
|
Raw
History Blame Contribute Delete
901 Bytes
---
title: CineMatch API
emoji: 🎬
colorFrom: red
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
---
# CineMatch API
FastAPI backend for **CineMatch** β€” a MovieLens movie recommender (10 models + a
Gemini conversational guide). This Space builds the `backend/` from
[github.com/jadzoghaib/Movie-RecSys](https://github.com/jadzoghaib/Movie-RecSys)
at Docker-build time.
The Next.js frontend is deployed separately (e.g. on Vercel) and points here via
its `NEXT_PUBLIC_API_BASE` environment variable.
## Environment variables to set on this Space (Settings β†’ Variables and secrets)
- **`GEMINI_API_KEY`** *(secret)* β€” enables the AI Guide chat. Without it, the rest of the app still works.
- **`FRONTEND_ORIGIN`** *(variable)* β€” your frontend URL, added to CORS, e.g. `https://your-app.vercel.app`.
To pull the latest code after a GitHub push: **Settings β†’ Factory rebuild**.