Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.14 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.14 KB

NetFlixGPT

Screenshot

Features

  • Authentication using firebase.
  • Fetch and display the official trailer of a movie.
  • tmdb api integration for fetching movie details.
  • OPENAI api integration for generating movie recommendations.

Getting started

To run NetFlixGPT on your system, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Vinay-Basargekar/NetFlixGPT.git
  2. Navigate to the project directory:

    cd NetFlixGPT
  3. Install the required dependencies:

    npm install
  4. Set up your environment variables: Create a constant.js file in the src/utils directory and change the following code:

    export const API_OPTIONS = {
      method: "GET",
      headers: {
        accept: "application/json",
        Authorization: `Bearer YOUR_TMDB_API_KEY`,
      },
    };
    
    export const OPENAI_KEY = `YOUR_OPENAI_KEY`;
  5. Start the development server:

    npm start
  6. Open your web browser and visit http://localhost:3000 to access NetFlixGPT.