In this video, Emmanuel Henri creates the friend list component and codes the GraphQL fragment with Relay code. He also goes through the basics of GraphQL connections, Including what an edge and node is.
- [Narrator] Before I continue working on the components,…let me show you a quick visual representation…of connections, edges and nodes, so it is clear…what they are.…So when we did the code to connect the user…to our friends, this is what we've established.…So connections is primarily the code that allows us…to do a one to many relationship.…So if you are a SQL person or if you're a database person…and you're familiar with how we establish…one to many, many to many in the tables…and the relationships that we've established,…this is exactly what we've done here,…so basically what we're establishing here is…one user to many friends, and the edges are basically…the connection from the user to the friends…and the friends are the nodes, so when we code…in a few seconds the fragment that will pull…for the friends list, you'll see that the edges…are calling on to the list of nodes,…or basically the list of friends for that user.…
Alright, so let's continue working on our components…with the friends list.…Okay, so what I want you to do is copy everything…
- Setting up GraphQL
- Running queries
- Updating schema and solvers
- Adding data
- Adding Relay entry components
- Coding GraphQL fragments
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
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.