Create & Interact with an AWS AppSync GraphQL API with AWS Amplify

Instructornader dabit

Share this video with your friends

Send Tweet

In this lesson we’ll create a new GraphQL API using the Amplify CLI and use the Amplify GraphQL API to query data from the new API & render it in our app. We’ll also look at how to perform mutations from the client

Abdullah
~ 5 years ago

Under componentDidMount the const is misspelled 'todoDate' in the transcript.

Felipe
~ 5 years ago

Hello, in the transcript got an extra parenthesis this.state.todos.map((todo, i))

Ben
~ 5 years ago

After Amplify Push, getting new questions: ? Do you want to generate code for your newly created GraphQL API ? Choose the code generation language target [javascript, tuypescript, flow] ? Enter the file name pattern of graphql queries, mutations and subscriptions (src/graphql/**/*.js) ? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions (Y/n) ? Enter maximum statement depth [increase from default if your schema is deeply nested] (2)

Ben
~ 5 years ago

After Amplify Push, getting new questions:

? Choose the code generation language target  [javascript, tuypescript, flow]
? Enter the file name pattern of graphql queries, mutations and subscriptions (src/graphql/**/*.js)
? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions (Y/n)
? Enter maximum statement depth [increase from default if your schema is deeply nested] (2)```
Big Human
~ 5 years ago

++ to Ben's question

vj-raghavan
~ 5 years ago

Why are the code base completely different on every exercise ? It makes it difficult to follow and does not flow naturally from one exercise to the other.

Earl Damron
~ 4 years ago

Ughh...I can't seem to get around this error:

Access to XMLHttpRequest at '<removed>/specs' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I sure don't recall deviating from the instructions at all.

Can I get any help maybe?