The Movies App is a React-based project that demonstrates various concepts learned in the React course. It utilizes class components, lifecycle methods, routing, authentication, and authorization. The app fetches data from internal APIs, displays movie information, and handles user authentication.
- Frontend: React, React Router
- Styling: CSS, Figma for design
- State Management: React Context API
- Date Formatting: date-fns
- Third-party Libraries: React Slick (for carousel functionality)
- Explore the live version of the Movies App : phanimoviesapp.ccbp.tech.
Choose any of the following:
username: aakash
,password: sky@007
username: agastya
,password: myth#789
username: advika
,password: world@5
username: binita
,password: modest*6
username: chetan
,password: vigor$life
username: deepak
,password: lightstar@1
username: harshad
,password: joy@85
username: kapil
,password: moon$008
username: rahul
,password: rahul@2021
username: shravya
,password: musical#stone
username: saira
,password: princess@9
- Refer to Figma Design Files.
git clone <repository-url>
cd movies-app
npm install
npm start
The app will run on http://localhost:3000/
.
Open the app in your preferred browser and explore the functionalities.
- Handles user login with error messages.
- Navigates to the Home Route upon successful login.
- Redirects unauthenticated users from other routes to the Login Route.
- Fetches data from Trending Now Movies and Originals APIs.
- Displays a random movie from Originals and lists movies from both APIs.
- Handles movie clicks to navigate to Movie Item Details Route.
- Fetches data from Popular Movies API.
- Displays movies and handles clicks to navigate to Movie Item Details Route.
- Fetches details for a specific movie.
- Displays movie details and a list of similar movies.
- Fetches movies based on search queries.
- Displays search results and handles clicks to navigate to Movie Item Details Route.
- Displays user credentials from login.
- Allows users to log out.
- Redirects to the Not Found Route for invalid paths.