GithubHelp home page GithubHelp logo

markaphillips / movie-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.88 MB

Movie UI to view and display current movies, built in React.

Home Page: https://eu-movie-ui.herokuapp.com/

HTML 0.46% TypeScript 95.57% JavaScript 2.12% Dockerfile 0.77% Shell 1.08%
apollo-client graphql react styled-components typescript

movie-ui's People

Contributors

dependabot[bot] avatar markaphillips avatar martysavva avatar mediasplash avatar

Watchers

 avatar

movie-ui's Issues

UI - Handle validation(server) for Registration and Login

Need to handle errors returned from the API
400 - Bad Request - returns an error object - need to review structure
500 - Internal Server errors

Review error object returned - plug into Notification component and is dependent on this module

UI - Add UI Tests to components

Using jest and react testing framework add component tests around all components
Use as exercise to ensure TDD practice is followed moving forward
Will require some refactoring of most components

UI - Integrate auth API for Login workflow

  1. Add API endpoint for login and integrate passing email and password
  2. If success -> store JWT token and display Users name and ability to logout
  3. Implement logout functionality

Refactor Local State management

Review local state management to allow for partial state updates dependent on keys
Ensure correct types are implemented (replace any)
Ensure state is immutable

Show Cast members assigned to a Movie on the movie detail view

Need to show a list of cast members - showing an image and the character they play in the movie - this is available in the movie schema returned from the API

Note - this view should only appear on the movie detail view and not on the featured movie view on the home page

UI - Implement Registration for a User

Backend implemented - as follows:

/auth/registration POST

Form payload

{
email: ""
password1: ""
password2: ""
first_name: ""
last_name: ""
}

Form validation will added as an additional issue

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.