/movieapp

for CoderSchool's React Nov 2017 cohort

Primary LanguageJavaScript

Project 1 - Movie App

Movie App is a movies listing app using the The Movie Database API.

Time spent: 20+ hours spent in total

User Stories

The following required functionality is completed:

  • User can view a list of movies currently playing in theaters.
  • User can show/hide details about each movie.
  • User sees loading state while waiting for the API.
  • User sees an error message when there is a network error.
  • User can refresh the movie list.
  • User can search/filter the movie results via a search bar.
  • User can use the page on both desktop and mobile viewport sizes.

The following optional features are implemented:

  • Toggle between Now Playing and Top Rated movies.
  • Sort Movies by rating, popularity, release date.
  • Animations on open/close details.
  • Infinite Scrolling.
  • Movie Poster Lightbox on click
  • Multiple Layout Options

The following additional features are implemented:

  • List anything else that you can get done to improve the app functionality!

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

![Video Walkthrough](walkthrough.gif)

GIF created with LiceCap.

Notes

  • State: Make it simple to track what the UI is doing

  • Components: Composition of lots of different simple pieces makes things easier.

  • JSX: Pokemon name={pokemon.name} states = {states}>

  • Props and State: Props are constant and can be anythning (including functions). State can change. Generally just a POJO (plain old javascript object)

  • API READ ACCESS TOKEN: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiI3N2Q0MThkYmVmZjI2NDI1NDc0NjA0MDUzYjBlZDRmNCIsInN1YiI6IjVhMTQyMzQ2YzNhMzY4NGYwZTAwN2U0MCIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.Ggmec0QjD-QGMCRMny4lAyiOuy0haxhEt5dOdQgOpzQ

License

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.