This is not an original creation all code credit goes to https://aws.amazon.com/getting-started/hands-on/build-react-app-amplify-graphql/ This is the result of following the tutorial.