In this video Emmanuel Henri builds the base Express server that will be used throughout the course. He also uses Babel to allow ES6 syntax on the server code as well as nodemon to watch for changes.
- [Instructor] For setting up our GraphQL environment,…we need a base server set up…and we'll use node to get this going.…We'll also install babel so we can use…declarative ES6 syntax to import and export…our dependencies as we work with our application.…Let's get to it.…The very first thing I want to do is create a new folder,…so let's go to our Desktop and create a new folder.…Whatever computer you're using,…create a new folder on your Desktop…or wherever you want that particular project to be.…
I'm going to call this graphql, like so.…Then I'm going to drag and drop that folder into VS Code,…and we're going to be in the right directory right away.…Or you can use the File to open a folder here.…What we're going to do is basically open up our Terminal,…so you go to View > Integrated Terminal,…or use the shortcut, and we're going to do npm init…to create a new package.json file.…
The package name, let's keep it that way,…version, description, entry point is the index,…test command, we'll leave.…Just a quick note for those that have a git repository,…
- Basic GraphQL schema
- Object types and fields
- Role of the resolver in GraphQL
- Scalar and enumeration types
- Using GraphQL tools
- Setting up persistence
- Adding new items with mutations
- Updating and deleting items with mutations
- Queries with arguments, aliases, and fragments
Skill Level Intermediate
GraphQL: Data Fetching with Relaywith Emmanuel Henri2h 28m Intermediate
1. Setup and Introduction
2. Types and Schemas
3. Setting Up Persistence
5. Queries in Depth
Next steps1m 8s
- 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.