michaelx / media-tracker

Self-hosted open source media-tracker for tv shows and movies. (React, Redux)
MIT License
44 stars 5 forks source link

How to add the API key to config.js #42

Closed superbonaci closed 2 years ago

superbonaci commented 2 years ago

How to I add the TMDb API key to ./client/src/config.js?

superbonaci commented 2 years ago

Fixed. Go to your account page: https://www.themoviedb.org/settings/api Then copy the API Key (v3 auth), which is 32 characters long, (the v4 doesn't work) and make ./client/src/config.js look like this:

export default {
  TMDb: {
    KEY: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    LANGUAGE: 'en-us',
  },
};
superbonaci commented 1 year ago

@librafrog why don't you open a new issue? Yours doesn't seem related to mine.