jsaelhof / movie-picker

Next.js test app. Keeps a list of movies to watch across various streaming services and randomly picks one.
https://moviedecider4000.vercel.app
2 stars 0 forks source link

Move TMDB and OMDB behind GraphQL #37

Closed jsaelhof closed 3 years ago

jsaelhof commented 3 years ago

For TMDB, I need to do a look up from IMDB-to-TMDB id before using the TMDB id to make additional calls. With Graph, I could make a request for the IMDB-to-TMDB and then re-use it on other requests.

Might also make sense to start adding the TMDB id to my DB data so I can avoid making the call just to translate from IMDB

jsaelhof commented 3 years ago

https://github.com/jsaelhof/movie-picker/pull/38