Giter Club home page Giter Club logo

sofiavazs / project-movies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technigo/project-movies

0.0 0.0 0.0 2.28 MB

Project Movies done during the Technigo Bootcamp - A multi-page website built in React ⚛️ using the MovieDB API, fetch the movies from the API, display them on a page and then link to a movie specific page when the movie gets clicked by using React Router.

Home Page: https://matinee-movies.netlify.app/

HTML 7.35% JavaScript 54.42% CSS 38.23%
react react-router jsx javascript

project-movies's Introduction

Project Matinee Movies 🍿

This project's goal was to use React ⚛️ to build a multi-page website using the MovieDB API, fetch the movies from the API, display them on a page and then link to a movie specific page when the movie gets clicked by using React Router.

Planning & What I learned 🧩

  • My app consists in two main components, the home page and then the pages for each movie.
  • The home page, which is my MoviesList is where all the movies cards are displayed, by doing a fetch(), using the useState to store the data and the useEffect React hooks and then a map() so the cards for each movie can be displayed.
  • When the user hovers over the movie the card, they will be able to see the movie's original title, as well as, the release date, also fetched from the API. Then when the movie cars is clicked, this will redirect the user to the movie details page.
  • To build the movie details page a new fetch this time by the movie specific id and then using params, so afterwards I can use the data to display the details regarding each movie.
  • Then in the app.js is where I use the React Router hook, in order to establish the path for the home page and specific movie details pages.
  • I also implemented Responsive design.

With this project I learned how to use the React Router hook and was also able to consolidate knowldge regarding useEffect, useState and asynchronicity.

Tech ⚡️

  • HTML
  • JSX
  • React
  • Javascript

View it live 🔴

https://matinee-movies.netlify.app/

project-movies's People

Contributors

sofiavazs 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.