Netfix gpt
- create app using npx create-react-app netfix-gpt
- configure tailwindcss follow https://www.geeksforgeeks.org/installation-guide/how-to-install-tailwind-css-with-create-react-app/
- Add new repo in github
- Create components for body, header, login, browser page
- install npm -i react-router-dom
- In body component start the router
- '/' will take to login, '/brower' will take login page
- Start Login page a. Netflix logo in header b. netflix background image c. basic form for sign in and sign up d. form validations, useRef hook for inputs
- Set up firebase a. create new project b. install and deploy firebase -> https://netflixgpt-60289.web.app
- Used firebase fn to sign in and sign up
- Created redux store to have user informationuser details and if user is not sign in then navigate it back
- In header add user logo and sign out option
- Get data from tmbd website -> https://www.themoviedb.org/settings/api
- Now in body componenet add header, main container and secondary container
- Add the main movie with trailer playing
- Build secondary component -> movies categories -> movie cards
- GPT Search option -> GPT search bar and suggestions
- npm i openai
- setup chat gpt
Features
-
Homepage (login / sing up page)
- Sign in/ sign up form redirect to browse page
-
Browse page (after authentication) header
- main movie
- background movie
- title discription play button
- Movie suggestions
- movie list (vertical scroll)
- main movie
-
netflix gpt search bar show us movie suggestions