Source from The Movie Database (TMDb) API (v3) in Gatsby.
MIT License
An example project using gatsby-source-tmdb to build a dashboard of watchlist/favourite TV/movies and custom lists. You can see a live preview at tmdb.lekoarts.de.
Deploy this starter with one click on Netlify:
Built with vanilla-extract, react-query.
This example showcases a combination of build-time and client-only usage of the TMDb API. The /
(homepage) page is built statically with gatsby-source-tmdb
. The detailed pages (e.g. /tv/<some-id>
) are fetching their data on the client. Read more about client-only routes.
npm install
.env.example
and rename it to .env
..env
filegatsby-config.ts
static