Skip to content

dawsonrichey/NetflixGPT

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Netflx GPT

  • Created React App
  • Configured TailwindCSS
  • Header
  • Routing of App
  • Login Form
  • Sign up Form
  • Form Validation
  • useRef Hook
  • firebase set up
  • Deploying app to production
  • Create signUp User Account
  • Implement Sign In user API
  • Created Reduc Store with userSlice
  • Implemented SIgn Out
  • Update Profile
  • Bugfix: Sign up user displayname and profile picture update
  • Bugfix: if the user is not logged int Redirect /browse to Login Page and vice-versa
  • Unsubscribe from auth state listener
  • Add hardcoded values to the constant file
  • Registered TMDB API & create an app & gt access token
  • Get Data from TMDB now playing movies list API
  • Custom Hooks for Now Playing Movies
  • Updated store with movies Data
  • Created movieSlice
  • Planning for MainContainer and SecondaryContainer
  • Fetch Data for Trailer Video
  • Update Store with Trailer Video Data
  • Embed Trailer Video and make it play in a loop on mute
  • Tailwind CSS to style the player
  • Built Secondary Component
  • Built Movie List
  • Build Movie Card
  • TMDB Image CDN URL
  • Made the Browse page Tailwind CSS
  • use Popular Movies section
  • use Top Rated Movies section
  • GPT Search Page
  • GPT Search Bar
  • Multiple Language Support
  • Get OPENAI API Key
  • GPT Search API
  • fetched gpt search results for 8 similar movies
  • Made a single component for GptMovieSuggestions
  • Made a single component for GptSearchBar
  • Made a single component for GptSearch
  • GPT Search Screen UI
  • Added .env file
  • Memorized the GptMovieSuggestions Component

Features

  • Login/Sign UP
    • Sign in / Sign up Form
    • Redirect to Browse Page
  • Browser ( after authentication)
    • Header
    • Main Movie
      • Trailer in Background
      • Title and Description
      • Movie Suggestions
        • Movie Lists
  • NetflixGPT
    • Search bar
    • Movie Suggestions

email validation

password validation

Backend Authentication

npm install firebase npm install -g firebase-tools npm run build firebase login firebase init firebase deploy https://netflixgpt-97d3e.web.app/

https://developer.themoviedb.org/docs/getting-started

https://developer.themoviedb.org/reference/movie-now-playing-list

https://developer.themoviedb.org/reference/movie-videos

https://www.npmjs.com/package/openai https://www.npmjs.com/package/openai/v/4.0.1

npm install --save openai npm install --save [email protected]

https://stackoverflow.com/questions/62663451/treating-warnings-as-errors-because-process-env-ci-true-failed-to-compile