This is a Netflix clone project with a GPT search feature that allows users to provide prompts, and the application will return a list of movies based on the input prompt.
- Clone this repository to your local machine using:
git clone https://github.com/prateek-budhiraja/netflix-gpt.git
- Change directory to the project folder:
cd netflix-gpt
- Install the required dependencies:
npm install
- Start the development server:
Rename the .env.example
file to .env
and add your keys for TMDB, OpenAI and Firebase.
5. Start the development server:
```bash
npm start
- Open your web browser and navigate to http://localhost:3000 to use the Netflix clone with GPT search feature.
-
When you navigate to http://localhost:3000, the application will open the login page.
-
If you are not logged in, you can sign up for an account.
-
After logging in or signing up, you will be redirected to the
/browse
page, where you'll find a collection of movies similar to Netflix. -
On the top of the
/browse
page, there is a GPT search button. -
Click the GPT search button to access the input box, where you can enter your search prompt.
-
Enter your search prompt and press the search button or hit Enter to initiate the GPT search.
-
The application will return a list of movies related to your search prompt.
-
Click on any movie to view more details or watch it if available.
- React
- GPT-3.5 for search functionality
- Firebase for authentication
- TMDB API for movie data
- Tailwind for styling
- React Router for routing
- React Context API for state management