michaelx/media-tracker

How to add the API key to config.js

superbonaci opened this issue · 2 comments

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

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',
  },
};

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