Code Along: Express TMDB App

Code Along: Express TMDB App

  • Together we’ll walk through creating a full stack (backend & front-end) application that provides movie and tv show data using the TMDb API

1. Get the starter code for this code along

2. Install Node Packages required to run the app

  • Navigate to project folder in the terminal and run the following

    $ npm install
    
  • Then run the server

    $ npm run start
    

3. Create a TMDB account

4. Access your TMDb API Key

5. Store API as Environment Variable

  • Open project in your editor

  • In your terminal from the project folder, create a file named inside the .env

    $ touch .env
    
  • Add the following to the .env file

  TMDB_API_KEY=ADD_YOUR_API_KEY_HERE