The Movie Site Project is a multi-page React application that leverages APIs, with a primary focus on React Router.
experience the movie sit live : movies-site
Dependency Installation & Startup Development Server Once cloned, navigate to the project's root directory. This project uses npm (Node Package Manager) to manage its dependencies.
The following command combines installing dependencies, opening up the project on VS Code, and starting a development server on your terminal:
npm i && code . && npm run dev
Additionally, you need to install react-router-dom for routing. Run the following command:
npm install react-router-dom
This is a multipage project with the following key features:
Displays movies fetched from an API endpoint. Handles a loading state when data is being fetched.
Users can select popular, upcoming, or top-rated movies.
Clicking on a movie in the home page routes to a detailed page for that movie. The page includes a back button and a detailed description of the movie.
Users can click on similar movies to view a list fetched using a different API.
Displays in case the user enters the wrong movie ID.
- React- router
- react componenst
- React Hooks (useState,useEffect)
- movies API end point
- tailwind css
Potential areas for future improvements and expansion include:
Add pages for each actor involved in movies to provide more comprehensive information.
Consider improving the CSS by transitioning away from Tailwind CSS for better code readability.
See instructions of this project