How 380224421/tmdb-proxy works
tmdb-proxy is a small Vercel-hosted TMDB proxy. A client sends requests to the deployed domain; the sampled API handler serves valid cache hits or forwards misses to TMDB, then returns the response. The README also documents image proxying, but the supplied source only shows the API handler, so image-proxy internals and wiring cannot be confirmed.
Main entry points: tmdb.js TMDB API handler
Components 6
Proxy service
- TMDB API handler
api/tmdb.js - Image proxy
Response cache
- In-memory cache
api/tmdb.js
Other components
- API client
- TMDB API
- TMDB images
Connections 8
- API client → TMDB API handler: sends request
- TMDB API handler → In-memory cache: checks path
- In-memory cache → TMDB API handler: returns hit
- TMDB API handler → TMDB API: forwards GET
- TMDB API handler → In-memory cache: stores 200
- TMDB API handler → API client: returns response
- API client → Image proxy: requests images
- Image proxy → TMDB images: proxies images