This repo is based on Nuxt Movies Proxy.
tmdb-proxy is a lightweight proxy server for the tmdb api and youtube images.
- Speeds up API responses by leveraging the SWR cache.
- Speeds up the development by removing the requirement of having a local token set up.
- Speeds up the performances by optimizing images using unjs/ipx.
- Allows easily deploying the main project to any hosting platform, yet leveraging caching and image optimization.
- Take a copy of
.env.exampleand re-name to.env - Get your TMDB API key
- Enter the details into the
.envfile - Start the dev server with the following scripts
# Install dependencies
$ bun install
# Start dev server with hot reload at localhost:3001
$ bun dev