GithubHelp home page GithubHelp logo

olgatenison / movie-search Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4 MB

This project is a React application for searching and displaying movie information. It uses the themoviedb.org API to fetch data about movies, actors, and reviews.

Home Page: https://olgatenison.github.io/movie-search/

HTML 20.11% JavaScript 77.37% CSS 2.52%
css3 html5 js react

movie-search's Introduction

Project Preview

React Movies

Live Demo

๐ŸŽฅ What's it all about? This application leverages the power of React and taps into the free API to bring you up-to-date details about movies, actors, and reviews. Whether you're a movie buff or just looking for your next favorite film, this project has got you covered!

Project Structure

The project is structured as follows:

  • src/: The source code of the React application.
    • components/: Reusable UI components.
      • Appbar.js: The top-level application bar.
      • Button.js: A button component.
      • Container.js: A container component for layout structure.
      • Navigation.js: Navigation component.
      • Searchbar.js: Search bar component.
      • PageTitle.js: Page title component.
      • MovieList.js: Component for displaying a list of movies.
      • MovieInfo/: Components related to movie information.
        • MovieInfoDetails.js: Component for displaying detailed movie information.
    • pages/: React components representing different pages of the application.
      • HomePage.js: Home page with trending movies.
      • MoviesPage.js: Page for searching and displaying movies.
      • MovieDetailsPage.js: Page for displaying detailed information about a specific movie.
        • Cast.js: Component for displaying information about the cast.
        • Reviews.js: Component for displaying movie reviews.
        • FullMovieInfo.js: Component for displaying full movie information.
    • services/: Functions for interacting with the themoviedb.org API. - api.js: API functions for fetching movie data.

    Project Preview

Project Requirements

Acceptance Criteria

  • Use this React Homework Template as a starting point for your program.
  • Create a repository named goit-react-hw-05-movies.
  • Provide a link to the source files and working pages of each project on GitHub Pages.
  • Components store the minimal necessary set of data in their state; the rest is computed.
  • No errors or warnings appear in the console during the execution of the assignment code.
  • Each component has a separate folder with a React component file and a styles file.
  • Everything a component expects as props is passed to it during the call.
  • Component names are clear and descriptive.
  • JS code is clean and understandable, using Prettier.
  • Styling is done with CSS modules or Styled Components.

Project Preview

Project Preview

themoviedb.org API

  • Use the themoviedb.org API for the backend. Register (you can enter any data) and obtain an API key.
  • The following endpoints will be used in this task:
    • /trending/get-trending: List of today's most popular movies to create a collection on the main page.
    • /search/search-movies: Movie search by keyword on the movies page.
    • /movies/get-movie-details: Request for full information about a movie for the movie details page.
    • /movies/get-movie-credits: Request for information about the cast for the movie details page.
    • /movies/get-movie-reviews: Request for reviews for the movie details page.

Documentation Links

Project Preview

Routes

  • The application should have the following routes. If a user enters a nonexistent route, they should be redirected to the home page.
    • /: Home component, home page with a list of popular movies.
    • /movies: Movies component, page for searching movies by keyword.
    • /movies/:movieId: MovieDetails component, page with detailed information about a movie.
      • /movies/:movieId/cast: Cast component, information about the cast. Rendered on the MovieDetails page.
      • /movies/:movieId/reviews: Reviews component, information about reviews. Rendered on the MovieDetails page.

movie-search's People

Contributors

olgatenison avatar

Stargazers

 avatar

Watchers

 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.