In this video, Emmanuel Henri updates the schema to be closer to what you'll use for the project in this course. He also briefly explains the main elements required such as the schema and the resolvers in order to be able to do queries in GraphQL.
- [Instructor] To be able to make GraphQL queries,…you need to define a schema which defines the query type…and a resolver for each API end point.…So the type definition provides what types of data…we expect and the resolver gets the data for us.…So we'll get started by defining our users for our…application and then resolve it with fake data for now.…Also, if you need a GraphQL cheat sheet, you can go to…GitHub.com/sogko/graphql-schema-language-cheatsheet…and when you get to this page,…scroll down, right here and you'll see a copy of…what the cheat sheet looks like…and then you can download the PDF or a PNG.…
So, this is a great tool when you start building your types,…so you can see some references as…to how to build your types, what type definitions it takes…and so on so forth, it's a really good cheat sheet.…Alright, so let's go ahead and define our first type…and go to your editor and go inside of the schema.…I would suggest you stop the server with ctrl C for now,…and then let's go into our schema…and in our schema, we'll define a few things,…
- Setting up GraphQL
- Running queries
- Updating schema and solvers
- Adding data
- Adding Relay entry components
- Coding GraphQL fragments
Skill Level Advanced
1. Introduction and Setup
2. GraphQL Development
3. Relay Setup
4. React Integration
Next steps1m 12s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.