In this video, Emmanuel Henri adds the base folder structure required for adding Relay and React into your application, and then codes the base HTML file. He also adds a material design library to be used on the components.
- [Instructor] Before moving on to the base HDML,…let's update a few items and test our GraphQL server…to make sure it works properly.…So the first thing I want you to do is go…into your server.js file, and remember…I put a little note here, "Keep looking for this."…So, this is the time we need to look at it,…and remove it, and update something.…So we need to, instead of loading database,…we need to load our schema, like so.…So, the second thing we need to do is add a little script…in our package.json file that will grab our schema…and then create the schema.GraphQL file that will…be used by Relay and GraphQL.…
So, let's go ahead and do that, and the script…will be called update-schema.…You can call it anything you want, as long as you remember…what it is, so when you do yarn, use the right script.…And we'll do babel-node, and babel-node will run…inside of our scripts folder, the updateSchema script,…like so, okay.…So, we're ready to test our server, so let's go ahead…and go into our terminal and first, let's do a yarn…
- 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.