Giter Club home page Giter Club logo

project-movies's Introduction

# Project Movies

Week 12's project goal was to build a multi-page React application using data fetched from The Movie Database API. Once we Fetch the initial movie data we had to display the movies in a list, and then link to a movie detail page when you click on a specific movie. This week we were introduced to React Router in able to achieve this.

## My process

For my landing page I used CSS Grid. I haven't had chance to use Grid before so this seemed like the perfect opportunity to do so. App.js is where I have defined my React Router Switch, and the different pages available. Each movie details page displays the information pulled from the movie API and includes an external link to that film's IMDB page (using the IMDB ID provided) and also a back button. This is achieved by using the useHistory hook. I also created x2 error pages, which return errors if the page url is incorrect or an incorrect movie name/id is entered in the url.

## Tech

  • React Router
  • useHistory hook
  • useParams hook
  • JSX
  • JavaScript
  • API
  • CSS Flexbox
  • CSS Grid

View it live

https://jamiecook-movie-night.netlify.app/

project-movies's People

Contributors

the-j-curl avatar idlefingers avatar emolsz avatar dependabot[bot] avatar jenniedalgren avatar puj 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.