Giter VIP home page Giter VIP logo

tarunvamsi / netflix-assist-gpt Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 668 KB

An innovative Netflix-inspired movie recommendation web app powered by AI. Discover personalized movie suggestions based on your preferences, explore trending genres, and enjoy seamless integration with The Movie Database (TMDB) API.

Home Page: https://netflix-assist-gpt.vercel.app

HTML 3.82% CSS 0.13% JavaScript 96.05%
ai gemini-api memoization netflix-clone netflix-gpt reactjs redux-toolkit tailwindcss tmdb tmdb-api

netflix-assist-gpt's Introduction

NETFLIX GPT

  • Create React App
  • Configured Tailwind css

Features Planning

  • Login and SignUp page

  • R outing

    • Sign up and sign in screen
      • Login Form
      • Form Validation (useRef hook)
    • After login --> redirect to browse page
    • Create signup user account - firebase
      • Whenever we sigin or sigup , fire base will give an access token , to verify the authentication
      • And UID
  • Browse Page (After Authentication)

    • Register for TMDB api
    • Creatr app and get access token and api key
    • get data from TMDB now playing movies list API
    • get data in browse page
    • Header
    • Main Movie
      • Background trailer playing
      • Movie title and Description
      • Movie suggestions
        • Movie List * N
  • Netflix GPT

    • Search bar
    • Movie Suggestions
  • Formik Library--> forms for react application

  • useRef hook --> to get the data entered from the input boxes

  • Once user signed in / signup we will add the data to the redux store and then navigate to browse page

    • Because we need data anywhere in the app
  • Bug1 : Even if the user is logged out - trying to access /browse --> user is able to access :::: we need to restrict

  • Bug2 : After logged in , if user wants to access /login --> opening login page :::: we should redirect to browse page till user logs out ::: we need to redirect

  • fix:: place auth api , in the central place , where it will be present every where in the app

  • place it in the header , so that every time it will check for the auth change , so based on that it will be redirected accordingly

  • Good practice: Unscbscribed to the onAuthStateChaneg callBack, because header will be changed more timed

  • For Browse Movies - We use TMDB API to get the data

    • Open TMDB and Login
    • Open edit proile
    • Go to api section
      • Find api key and api access token
  • ReactStrictMode -- > in local everything happens twice --> react does extra rendering to check inconsistency in rendering cycle'

    • This will only happens in the development phase
    • When we do the prod build, it wont happen

Browse page planning

  • Main Container
    • Video Background
    • Video Title
  • Secomdary Container
    • Movie list * N
      • Many Cards * N

netflix-assist-gpt's People

Contributors

tarunvamsi avatar

Stargazers

Sathyaraj Aridevan avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.