In this video Emmanuel Henri finalizes the setup to accept Mongo queries and future SQL queries.
- [Male Instructor] Now that we have the necessary…items to connect to Mongo database,…let's finalize our server to properly connect to it.…So the first thing I want you to do,…is create inside of ESSENTIALS here, so the root directory,…a new folder.…So you can do this by creating a new folder here…like so.…Or, right-click, or use whatever methods…that your code editor allows you to do.…So, I'm going to do this.…And then, I'm going to call this particular folder data.…And what I'm going to do…is move the resolvers inside of data.…
Yes.…And then, move schema as well inside of data.…Like so.…And please, keep in mind…that we need to properly import here…so we need to add also data here.…So now, schema is not in the root directory…so we definitely need to get inside of that folder…so let's update that particular import here…in index.js.…So, data and schema, like so.…Okay.…And then, let's create a new file inside of data.…
And this file will be called dbConnectors,…or you can call it whatever you want…as long as you know what to import…
- 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 Advanced
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.