A lightweight node app to proxy the TMDB API. This app is designed as to not expose your API Key. Any request is forwarded to TMDB using the same path and query string, with your API Read Access Token injected server-side.
- Proxies some of movies and series TMDB read API
- Easy Vercel deployment
- Your API Keys stay secure (server-side)
- A TMDB API Key
- A Vercel account
-
Clone the repository:
git clone https://github.com/VOD-Downloaders/TMDB-Proxy.git cd TMDB-Proxy -
Install dependencies:
npm install
-
Create
.env.localfile. -
Add your API Keys to the file:
TMDB_READ_ACCESS_TOKEN=<READ_ACCESS_TOKEN>
-
Run:
npm run dev
-
Fork this repository.
-
Import the github repository in Vercel.
-
Add the environment variables:
TMDB_READ_ACCESS_TOKEN
under Vercel -> Settings -> Environment Variables
-
Deploy!
-
Your API is now live under your vercel domain.
This project is licensed under the MIT License. See LICENSE for details.
Contributions are welcome! Please fork the repository and create a pull request with your changes.