GithubHelp home page GithubHelp logo

project-movies's Introduction

Project Movies

This project was made by Ida Sylvén and Siri Hemsley and part of Technigo Bootcamp.

The assigment was to create a movie site from The Movie DataBase API and to follow a set design, using React.

The problem

The general requirements involved creating an app with at least 2 pages, one with the list of movies and one showing the details of a movie. It was supposed to follow the design, but it was okay to change things.

This was the first project using React Router and create components that could link to different routes and use exact and non-exact paths. We were able to fetch both the list and detail API fairly quickly and recreate the design.

We wanted to implement some other features than listed among the strech goals and decided to go for it! First we looked at the API documentation, but didn't find the end points we wanted (genre etc) but we did find that you can connect any list. So we created one list each of our favorite movies and connected those via an API fetch.

Then we also saw that there was a search end point, so we decided to also implement a search bar that we then were able to connect to our Movie Detail page to display the film you wanted to see.

If we had more time...

  • Perhaps go over all code and create some more components/simplify code
  • Error message is now only displayed to an empty string, but if we had more time we would look into having it display when the user is trying to search for a film which is not found or making a typo. We have a rough idea how it could be done, but we ran out of time.
  • Handling not found page if trying to visit a detail page with invalid movie ID by sending the user back to the start page
  • Handle loading states when waiting for the fetch
  • We want to include similar movies end point linked from detail page

View it live

https://eloquent-tesla-2a2f77.netlify.app/

project-movies's People

Contributors

sirimatsdotter avatar emolsz avatar dependabot[bot] avatar idlefingers 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.