Coder Social home page Coder Social logo

technigo-11-24-movies's Introduction

Project Movies

This week we were to create a multi-page website using The Movie Database's API with multiple endpoints, React Router and various hooks.

The problem

As with most projects I decided to dive straight in by building the initial fetch-function, and set up the different Routes. The part where I fetch the data from the API and build components using map-function feels rather safe now, so my main focus was to understand and to implement the navigation part. In some way I managed to get the functionality to work, but I wasn't all satisfied with my solution, so I decided to book a 1:1.

Afterwards I began working a lot with conditional rendering, and when the concept of using conditional statements to select what content to show became clear, it felt like the rest of the project was just a joyride.

Creating the buttons were especially fun, by working with Links, useHistory-hooks and connecting content with buttons. I also very much enjoyed figuring out how to redirect faulty requests to a 404-page, on all levels of the sitemap (/ and /movies).

If I had more time I would implement even more functions to show even more content. Just to repeat it all a bit more.

View it live

Live demo: https://movies-by-karin.netlify.app/

technigo-11-24-movies's People

Contributors

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