diericx / bevy

Self hosted software for distibuted video streaming using BitTorrent
74 stars 6 forks source link

Talk to TMDB through the backend instead of directly #33

Closed brianbushree closed 3 years ago

brianbushree commented 3 years ago

resolves #5

what

Add bindings in backend for TMDB request by introducing the following backend endpoints:

Note: the page query parameter is optional here and defaults to 1

Refactor the frontend to use these endpoints instead of the TMDB ones.

why

  1. Minimizes the different services the frontend needs to talk to.
  2. Provides the ability to do certain transformations on the TMDB data. (such as parse release year, send complete urls for images, etc)
  3. Allows us to be able to set the TMDB api key in the backend config